|
|
1.1 ! root 1: /* ! 2: * Get space or die. ! 3: */ ! 4: #include <stdio.h> ! 5: char *memset(); ! 6: ! 7: char * ! 8: alloc(n) ! 9: unsigned n; ! 10: { ! 11: char *tmp; ! 12: ! 13: if (NULL == (tmp = malloc(n))) ! 14: fatal("Out of space"); ! 15: return(memset(tmp, '\0', n)); ! 16: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.