getpagesize(3B)
NAME
getpagesize − get system page size
SYNOPSIS
/usr/ucb/cc [ flag ... ] file ...
int getpagesize()
DESCRIPTION
getpagesize() returns the number of bytes in a page. Page granularity is the granularity of many of the memory management calls.
The page size is a system page size and need not be the same as the underlying hardware page size.
SEE ALSO
pagesize(1B), brk(2), sysconf(3C)
NOTES
Use of these interfaces should be restricted to only applications written on BSD platforms. Use of these interfaces with any of the system libraries or in multi-thread applications is unsupported.
Sun Microsystems — Last change: 12 Feb 1993