home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The C Users' Group Library 1994 August
/
wc-cdrom-cusersgrouplibrary-1994-08.iso
/
vol_200
/
223_01
/
free.c
< prev
next >
Wrap
Text File
|
1979-12-31
|
640b
|
17 lines
#define NOCCARGC /* no argument count passing */
extern char *zzmem;
/*
** free(ptr) - Free previously allocated memory block.
** Memory must be freed in the reverse order from which
** it was allocated.
** ptr = Value returned by calloc() or malloc().
** Returns ptr if successful or NULL otherwise.
*/
free(ptr) char *ptr; {
return (zzmem = ptr);
}
#asm
cfree equ free
entry cfree
#endasm