pvalloc(3) Library Functions Manual pvalloc(3)

pvalloc - page-sized page-aligned memory allocation

Standard C library (libc-lc)

#include <malloc.h>
[[deprecated]] void *pvalloc(size_t size);

pvalloc() is similar to valloc(), but rounds the size of the allocation up to the next multiple of the system page size.

For an explanation of the terms used in this section, see attributes(7).

Interface Attribute Value
pvalloc () Thread safety MT-Unsafe init

GNU.

glibc 2.0.

See valloc(3).

valloc(3)

2025-12-13 Linux man-pages (unreleased)