bsd man page for getpagesize

Query: getpagesize

OS: bsd

Section: 2

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

GETPAGESIZE(2)							System Calls Manual						    GETPAGESIZE(2)

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.
SEE ALSO
sbrk(2), pagesize(1) 4.2 Berkeley Distribution May 15, 1985 GETPAGESIZE(2)
Related Man Pages
pagesize(1) - opensolaris
pagesize(1) - sunos
getpagesize(3c) - opendarwin
getpagesize(3c) - v7
getpagesize(3c) - plan9
Similar Topics in the Unix Linux Community
Memory usage
code to find the top of the stack, not able to figure it out
Loading Data in shared memory (C++)
Regarding MMAP, MLOCK etc..
mprotect fails with ENOMEM in text segment