VALLOC(3) COMMAND REFERENCE VALLOC(3)
NAME
valloc - aligned memory allocator
SYNOPSIS
char *valloc(size)
unsigned size;
DESCRIPTION
Valloc allocates size bytes aligned on a page boundary. It
is implemented by calling malloc(3c) with a slightly larger
request, saving the true beginning of the block allocated,
and returning a properly aligned pointer.
DIAGNOSTICS
Valloc returns a null pointer (0) if there is no available
memory or if the arena has been detectably corrupted by
storing outside the bounds of a block.
CAVEATS
Vfree is not implemented.
SEE ALSO
brk(2), malloc(3c).
Printed 10/17/86 1
%%index%%
na:72,69;
sy:141,282;
de:423,380;
di:803,284;
ca:1087,112;
se:1199,129;
%%index%%000000000105