pvalloc(3)

pvalloc3

Page-sized page-aligned memory allocation

Usage

#include <malloc.h>

[[deprecated]] void *pvalloc(size_t size);

Library

Standard C library (libc, -lc)

Overview

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

Attributes

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

InterfaceAttributeValue
pvalloc()Thread safetyMT-Unsafe init

Caveats

See valloc(3).

Releases

8 releases since Debian 7 (Wheezy); the text changed 7 times.

  1. 7
  2. 8
  3. 9
  4. 10
  5. 11
  6. 12
  7. 13
  8. Arch

Standards

GNU.

History

glibc 2.0.

From man-pages 6.19-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.