*** empty log message ***

This commit is contained in:
em
1984-11-29 14:22:02 +00:00
parent 0c0c3b7892
commit ae1e81adb1
36 changed files with 1740 additions and 0 deletions

18
lang/basic/lib/salloc.c Normal file
View File

@@ -0,0 +1,18 @@
/* $Header $ */
char * salloc(length)
int length;
{
char *c, *s;
c= (char *) malloc(length);
if( c== (char *) -1) error(5);
for(s=c;s<c+length;s++) *s = 0;
return(c);
}
sfree(c)
char *c;
{
if( c== 0) return;
free(c);
}