.\" Copyright (c) 1980 Regents of the University of California.
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\" @(#)valloc.3 6.2 (Berkeley) %G%
valloc \- aligned memory allocator
Valloc is obsoleted by the current version of malloc,
which aligns page-sized and larger allocations.
bytes aligned on a page boundary.
It is implemented by calling
with a slightly larger request, saving the true beginning of the block
allocated, and returning a properly aligned pointer.
returns a null pointer (0) if there is no available memory
or if the arena has been detectably corrupted by storing outside the bounds