This commit is contained in:
Michael Kerrisk 2007-12-14 14:13:55 +00:00
parent e058bec7bf
commit 722bd1d0fc
1 changed files with 5 additions and 2 deletions

View File

@ -69,13 +69,16 @@ argument need not be a multiple of the page size,
but since residency information is returned for whole pages,
.I length
is effectively rounded up to the next multiple of the page size.
One may obtain the page size (PAGE_SIZE) using
One may obtain the page size
.RB ( PAGE_SIZE )
using
.IR sysconf(_SC_PAGESIZE) .
The
.I vec
argument must point to an array containing at least
(length+PAGE_SIZE-1) / PAGE_SIZE bytes.
.I "(length+PAGE_SIZE-1) / PAGE_SIZE"
bytes.
On return,
the least significant bit of each byte will be set if
the corresponding page is currently resident in memory,