valloc(3C) — 4 BSD
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.
BUGS
Vfree isn’t implemented.
CX/UX Programmer’s Reference Manual