valloc(3) DG/UX 4.30 valloc(3)
NAME
valloc - aligned memory allocator in DG/UX
SYNOPSIS
char *valloc(size)
unsigned size;
DESCRIPTION
Valloc allocates size bytes aligned on a page boundary
adequate for vread(2)). 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.
SEE ALSO
malloc(3).
BUGS
Vfree isn't implemented.
Licensed material--property of copyright holder(s) Page 1