getpagesize - Get the system page size
#include <unistd.h>
int getpagesize
void );
Interfaces documented on this reference page conform to
industry standards as follows:
getpagesize(): XSH4.2, XSH5.0
The getpagesize() is marked as a LEGACY interface in the
XSH specification, which recommends that portable applications
use sysconf() rather than getpagesize().
Refer to the standards(5) reference page for more information
about industry standards and associated tags.
The getpagesize() function returns the number of bytes in
a page. You might need to include this value in parameters
to memory management system calls.
The page size is an operating system page size and might
differ from the underlying hardware page size.
The getpagesize() function returns the number of bytes in
a page, and is always successful.
Functions: brk(2), getrlimit(2), madvise(2), mmap(2),
mprotect(2), msync(2), munmap(2)
Routines: sysconf(3)
Standards: standards(5)
getpagesize(2)
[ Back ] |