[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]

Technical Reference: Base Operating System and Extensions, 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 (brk or sbrk Subroutine) subroutine.

The pagesize command.

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


[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]