Commit | Line | Data |
---|---|---|
8bb980a3 C |
1 | GETPAGESIZE(3) BSD Programmer's Manual GETPAGESIZE(3) |
2 | ||
3 | N\bNA\bAM\bME\bE | |
4 | g\bge\bet\btp\bpa\bag\bge\bes\bsi\biz\bze\be - get system page size | |
5 | ||
6 | S\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 | ||
12 | D\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 | ||
19 | S\bSE\bEE\bE A\bAL\bLS\bSO\bO | |
20 | sbrk(2), pagesize(1) | |
21 | ||
22 | H\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 | ||
25 | 4.2 Berkeley Distribution June 4, 1993 1 |