Manual pages › BSD C library (3B)
getpagesize(3B)
get system page size
From the original Amiga UNIX 2.1 manual. Some things it mentions may not be in this release.
NAME
getpagesize - get system page size
SYNOPSIS
cc [ flag... ] file ... -lucb int getpagesize(VOID);
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(1) brk(2) in the Programmer's Reference Manual.