Debian Codegraph @

upstream/debian-unstable/man3/pvalloc.3

raw
1 '\" t
2 .\" Copyright, the authors of the Linux man-pages project
3 .\"
4 .\" SPDX-License-Identifier: Linux-man-pages-copyleft
5 .\"
6 .TH pvalloc 3 2025-12-13 "Linux man-pages 6.18"
7 .SH NAME
8 pvalloc
9 \-
10 page-sized page-aligned memory allocation
11 .SH LIBRARY
12 Standard C library
13 .RI ( libc ,\~ \-lc )
14 .SH SYNOPSIS
15 .nf
16 .B #include <malloc.h>
17 .P
18 .BI "[[deprecated]] void *pvalloc(size_t " size );
19 .fi
20 .SH DESCRIPTION
21 .BR pvalloc ()
22 is similar to
23 .BR valloc (),
24 but rounds the size of the allocation up to
25 the next multiple of the system page size.
26 .SH ATTRIBUTES
27 For an explanation of the terms used in this section, see
28 .BR attributes (7).
29 .TS
30 allbox;
31 lbx lb lb
32 l l l.
33 Interface Attribute Value
34 T{
35 .na
36 .nh
37 .BR pvalloc ()
38 T} Thread safety MT-Unsafe init
39 .TE
40 .SH STANDARDS
41 GNU.
42 .SH HISTORY
43 glibc 2.0.
44 .SH CAVEATS
45 See
46 .BR valloc (3).
47 .SH SEE ALSO
48 .BR valloc (3)