|
|
1.1 root 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: .\"
5: .\" @(#)getpagesize.2 6.1 (Berkeley) 5/15/85
6: .\"
7: .TH GETPAGESIZE 2 "May 15, 1985"
8: .UC 5
9: .SH NAME
10: getpagesize \- get system page size
11: .SH SYNOPSIS
12: .nf
13: .ft B
14: pagesize = getpagesize()
15: int pagesize;
16: .ft R
17: .fi
18: .SH DESCRIPTION
19: .I Getpagesize
20: returns the number of bytes in a page.
21: Page granularity is the granularity of many of the memory
22: management calls.
23: .PP
24: The page size is a
25: .I system
26: page size and may not be the same as the underlying
27: hardware page size.
28: .SH SEE ALSO
29: sbrk(2), pagesize(1)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.