Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getpagesize(3B) — SunOS 5.4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

pagesize(1B)

brk(2)

sysconf(3C)

getpagesize(3B)

NAME

getpagesize − get system page size

SYNOPSIS

/usr/ucb/cc [ flag ... ] file ...

int getpagesize()

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 need not be the same as the underlying hardware page size. 

SEE ALSO

pagesize(1B), brk(2), sysconf(3C)

NOTES

Use of these interfaces should be restricted to only applications written on BSD platforms.  Use of these interfaces with any of the system libraries or in multi-thread applications is unsupported. 

SunOS 5.4  —  Last change: 12 Feb 1993

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