getpagesize(3) (BSD Compatibility Package) getpagesize(3)
NAME
getpagesize - get system page size
SYNOPSIS
/usr/ucb/cc [flag ...] file ... -lucb
#include <unistd.h>
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 getpagesize() function is equivalent to sysconf(SCPAGESIZE) and
sysconf(SCPAGESIZE).
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), getrlimit(2), mmap(2), mprotect(2), munmap(2),
msync(3C), sysconf(3C), unistd(4).
Page 1 Reliant UNIX 5.44 Printed 11/98