GETPAGESIZE(2) — Silicon Graphics May 15, 1985
NAME
getpagesize − get system page size
SYNOPSIS
pagesize = getpagesize()
int pagesize;
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 may not be the same as the underlying hardware page size.
NOTE
The primitive documented on this manual page is a system call, but unlike most system calls it is not resolved by libc. To compile and link a program that makes this call, follow the procedures for section (3B) routines as described in intro(3).
SEE ALSO
Version 2.5r1 — October 29, 1986