Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

brk(2)

getrlimit(2)

mmap(2)

mprotect(2)

munmap(2)

sysconf(3)

madvise(2)

msync(2)

getpagesize(2)  —  System Calls

OSF

NAME

getpagesize − Gets the system page size

SYNOPSIS

int getpagesize ( void );

DESCRIPTION

The getpagesize() function returns the number of bytes in a page.  Knowing the system page size is useful for specifying arguments to memory management system calls. 

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

RETURN VALUES

The getpagesize() function returns the number of bytes in a page, and is always successful. 

RELATED INFORMATION

Functions: brk(2), getrlimit(2), mmap(2), mprotect(2), munmap(2), sysconf(3), madvise(2), msync(2)

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