[ Previous | Next | Contents | Glossary | Home | Search ]
AIX Version 4.3 Base Operating System and Extensions Technical Reference, Volume 1

getpagesize Subroutine


Gets the system page size.


Standard C Library (libc.a)


#include <unistd.h>

int getpagesize( )


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.

[ Previous | Next | Contents | Glossary | Home | Search ]