C:getpagesize
lastmod 2026-11-10created 2017-03-233 edits
getpagesize is a C function that returns the system's memory page size in bytes. It is used in work that must align to page boundaries, such as mmap or memory alignment handling. The POSIX standard recommends sysconf(_SC_PAGESIZE) instead, and on Windows the same information is obtained with GetSystemInfo.
get memory page size.