added Realloc, split into separate files

This commit is contained in:
ceriel
1987-07-06 14:46:00 +00:00
parent d120b2b73a
commit 8c10914e78
8 changed files with 119 additions and 36 deletions

View File

@@ -11,11 +11,11 @@
char *Malloc(n) allocate n bytes
char *Salloc(str, n) allocate n bytes and fill them with
string str
char *Realloc(str, n) reallocate the string at str to n bytes,
only works if str was last allocated
char *Realloc(str, n) reallocate the block at str to n bytes.
char *Srealloc(str, n) same as Realloc.
*/
extern char *Salloc(), *Malloc(), *Srealloc();
extern char *Salloc(), *Malloc(), *Srealloc(), *Realloc();
extern char *malloc(), *realloc();
/* S T R U C T U R E - S T O R A G E D E F I N I T I O N S */