[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]
Base Operating System and Extensions Technical Reference, Volume 1

getpagesize Subroutine

Purpose

Gets the system page size.

Library

Standard C Library (libc.a)

Syntax

#include <unistd.h>

int getpagesize( )

Description

The getpagesize subroutine returns the number of bytes in a page. Page granularity is the granularity for many of the memory management calls.

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

Implementation Specifics

This subroutine is part of Base Operating System (BOS) Runtime.

Related Information

The brk or sbrk subroutine.

The pagesize command.

Program Address Space Overview and Subroutines Overview in AIX Version 4.3 General Programming Concepts: Writing and Debugging Programs.


[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]