home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
magazine
/
drdobbs
/
1988
/
06
/
malloc.h
< prev
next >
Wrap
Text File
|
1979-12-31
|
768b
|
23 lines
________________________________________________________________
#include <malloc.h>
void dfree ( void *p );
void *dmalloc ( unsigned size );
void *dcalloc ( unsigned n, unsigned size );
int malloc_checking ( int );
unsigned long memory_used ( void );
#ifdef DEBUG
# define free(p) dfree(p)
# define malloc(s) dmalloc(s)
# define calloc(n,s) dcalloc(n,s)
#endif
________________________________________________________________
EXAMPLE 1: NEEDS CAPS