xref: /original-bsd/lib/libc/gen/getpagesize.3 (revision 5c9bbc78)
Copyright (c) 1983 Regents of the University of California.
All rights reserved. The Berkeley software License Agreement
specifies the terms and conditions for redistribution.

@(#)getpagesize.3 6.1 (Berkeley) 05/15/85

GETPAGESIZE 2 ""
C 5
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)