home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C!T ROM 2
/
ctrom_ii_b.zip
/
ctrom_ii_b
/
PROGRAM
/
C
/
SMALL_C
/
FREE.C
< prev
next >
Wrap
Text File
|
1987-10-04
|
512b
|
17 lines
#define NOCCARGC /* no argument count passing */
extern char *Umemptr;
/*
** 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 (Umemptr = ptr);
}
#asm
_cfree equ _free
PUBLIC _cfree
#endasm