Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

sbrk(2)

pagesize(1)

GETPAGESIZE(2)

NAME

getpagesize − get system page size

USAGE

pagesize = getpagesize()
int pagesize;

DESCRIPTION

Getpagesize returns the number of bytes in a page, which is the granularity of many of the memory management calls. 

The page size is a system page size and may not be the same as the underlying hardware page size. 

RETURN VALUE

This call, upon success, returns the number of bytes in a page. 

RELATED INFORMATION

sbrk(2), pagesize(1)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026