DOKK / manpages / debian 10 / alliance / autallocblock.3.en
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;

Number of memory bytes to be contiguously allocated

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 !"

System break can't be moved anymore, no more memory can be retrieved from the system.

#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