home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.barnyard.co.uk
/
2015.02.ftp.barnyard.co.uk.tar
/
ftp.barnyard.co.uk
/
cpm
/
walnut-creek-CDROM
/
ENTERPRS
/
CPM
/
UTILS
/
S
/
SMC21LIB.LZH
/
FREE.C
< prev
next >
Wrap
Text File
|
2000-06-30
|
512b
|
21 lines
#define NOCCARGC
extern char *_memptr;
/*
** free(ptr) - free previously allocated memory block.
** Memory must be freed in the reverse order fromw which
** it was allocated.
** ptr = value returned from calloc() or malloc().
** Returns ptr if successful or NULL otherwise.
*/
free(ptr) char *ptr; {
return(_memptr = ptr);
}
#asm
cfree equ free
entry cfree
#endasm