GETPAGESIZE(2) RISC/os Reference Manual GETPAGESIZE(2)
NAME
getpagesize - get system page size
SYNOPSIS
For -systype sysv and -systype bsd43:
pagesize = getpagesize()
int pagesize;
DESCRIPTION
getpagesize returns the number of bytes in a page. Page
granularity is the granularity of many of the memory manage-
ment calls.
The page size is a system page size and may not be the same
as the underlying hardware page size.
SEE ALSO
brk(2).
pagesize(1) in the User's Reference Manual.
NOTE
When these routines are used in a program which is compiled
in -systype sysv, they are not resolved by libc.a. See
intro(3-SysV) for more information.
Printed 1/15/91 Page 1