[ Bottom of Page | Previous Page | Next Page | 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.

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.2 General Programming Concepts: Writing and Debugging Programs.

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