---
name: "pvalloc"
section: "3"
platform: "linux"
package: "man-pages"
version: "6.19-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/pvalloc"
---

# pvalloc(3)

page-sized page-aligned memory allocation

## NAME

pvalloc - page-sized page-aligned memory allocation

## LIBRARY

Standard C library (*libc*, *-lc*)

## SYNOPSIS

```
#include <malloc.h>
```

**\[\[deprecated\]\] void \*pvalloc(size\_t** *size***);**

## DESCRIPTION

**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)](/attributes/7.md).

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

## STANDARDS

GNU.

## HISTORY

glibc 2.0.

## CAVEATS

See [**valloc**(3)](/valloc/3.md).

## SEE ALSO

[**valloc**(3)](/valloc/3.md)
