AUTALLOCBLOCK(3) | AUT FUNCTIONS | AUTALLOCBLOCK(3) |
autallocblock - memory allocator
See the file buster/alliance/alc_origin.1.en.gz.
#include "aut101.h" char *autallocblock( Size )
unsigned int Size;
autallocblock returns a block of Size bytes length. The memory block is set to zero.
autallocblock returns a pointer to a Size bytes long block.
"autalloc: alloc error, can't continue !"
#include "aut101.h" char ∗dup_str(s)
char ∗ s; {
char ∗t = (char ∗)autalocblock(strlen(s) + (unsigned int)1);
strcpy(t, s); return t; }
aut(1), autresizeblock(3), autallocheap(3), autfreeblock(3), autfreeheap(3).
See the file buster/alliance/alc_bug_report.1.en.gz.
October 1, 1997 | ASIM/LIP6 |