BSD 4_4 development
[unix-history] / usr / share / man / cat3 / getpagesize.0
CommitLineData
8bb980a3
C
1GETPAGESIZE(3) BSD Programmer's Manual GETPAGESIZE(3)
2
3N\bNA\bAM\bME\bE
4 g\bge\bet\btp\bpa\bag\bge\bes\bsi\biz\bze\be - get system page size
5
6S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
7 #\b#i\bin\bnc\bcl\blu\bud\bde\be <\b<u\bun\bni\bis\bst\btd\bd.\b.h\bh>\b>
8
9 _\bi_\bn_\bt
10 g\bge\bet\btp\bpa\bag\bge\bes\bsi\biz\bze\be(_\bv_\bo_\bi_\bd);
11
12D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
13 G\bGe\bet\btp\bpa\bag\bge\bes\bsi\biz\bze\be() returns the number of bytes in a page. Page granularity is
14 the granularity of many of the memory management calls.
15
16 The page size is a system page size and may not be the same as the under-
17 lying hardware page size.
18
19S\bSE\bEE\bE A\bAL\bLS\bSO\bO
20 sbrk(2), pagesize(1)
21
22H\bHI\bIS\bST\bTO\bOR\bRY\bY
23 The g\bge\bet\btp\bpa\bag\bge\bes\bsi\biz\bze\be function call appeared in 4.2BSD.
24
254.2 Berkeley Distribution June 4, 1993 1