the window strings is NOT quoted at this point; other cleanups
[unix-history] / usr / src / lib / libc / gen / getpagesize.3
CommitLineData
38ff2b5a
KM
1.\" Copyright (c) 1983 Regents of the University of California.
2.\" All rights reserved. The Berkeley software License Agreement
3.\" specifies the terms and conditions for redistribution.
4.\"
c9af5276 5.\" @(#)getpagesize.3 6.1 (Berkeley) %G%
38ff2b5a 6.\"
c9af5276 7.TH GETPAGESIZE 2 ""
38ff2b5a
KM
8.UC 5
9.SH NAME
10getpagesize \- get system page size
11.SH SYNOPSIS
12.nf
13.ft B
14pagesize = getpagesize()
15int pagesize;
16.ft R
17.fi
18.SH DESCRIPTION
19.I Getpagesize
20returns the number of bytes in a page.
21Page granularity is the granularity of many of the memory
22management calls.
23.PP
24The page size is a
25.I system
26page size and may not be the same as the underlying
27hardware page size.
28.SH SEE ALSO
29sbrk(2), pagesize(1)