GETPAGESIZE
Section: Linux Programmer's Manual (2)
Updated: 23 July 1993
Index
Return to Main Contents
NAME
getpagesize - get system page size
SYNOPSIS
#include <unistd.h>
size_t getpagesize(void);
DESCRIPTION
Return the number of bytes in a page. This is the system's page size,
which is not necessarily the same as the hardware page size.
NOTES
getpagesize
is implemented as a library function in DLL 4.4.1. Depending on what is
defined when the library is compiled, this function returns
EXEC_PAGESIZE
(set to 4096 in Linux 0.99.11),
NBPG
(set to 4096 in Linux 0.99.11), or
NBPC
(not defined in Linux 0.99.11 or DLL 4.4.1 libraries).
SEE ALSO
sbrk(2)
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- NOTES
-
- SEE ALSO
-
This document was created by
man2html,
using the manual pages.
Time: 12:25:02 GMT, March 22, 2025