getpagesize: Obtaining page size information
Description
The function is used for obtaining the natural OS-specific page size in Bytes.
getpagesize returns the OS-specific page size in Bytes for memory mapped files, while getdefaultpagesize returns a suggested page size.Usage
getpagesize()
getdefaultpagesize
Value
- An integer giving the current page size in Bytes.
Details
The function is used for obtaining the page size in Bytes. getpagesize returns the currently set page size, while getdefaultpagesize returns the machine's default value.