Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getpagesize(2) — GL2 W2.5

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

sbrk(2)

pagesize(1)

GETPAGESIZE(2)  —  Silicon Graphics May 15, 1985

NAME

getpagesize − get system page size

SYNOPSIS

pagesize = getpagesize()
int pagesize;

DESCRIPTION

Getpagesize returns the number of bytes in a page.  Page granularity 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. 

NOTE

The primitive documented on this manual page is a system call, but unlike most system calls it is not resolved by libc.  To compile and link a program that makes this call, follow the procedures for section (3B) routines as described in intro(3).

SEE ALSO

sbrk(2), pagesize(1)

Version 2.5  —  April 22, 1987

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