valloc — C Library Procedures
NAME
valloc − page-aligned memory allocator
SYNOPSIS
#include <unistd.h>
void ∗
valloc(size)
ARGUMENTS
size_t size (in) Number of bytes to allocate.
DESCRIPTION
valloc is like malloc, except that the pointer it returns is guaranteed to be page-aligned.
BUGS
Using free to deallocate valloc’d memory can corrupt malloc. Unfortunately, there is no vfree routine, so it is currently impossible to free valloc’d memory.
KEYWORDS
memory, alloc
Sprite version 1.0 — April 21, 1992