getpagesize

Gets the system page size.

Format

#include  <unistd.h>

int getpagesize  (void);

Description

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

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

Return Values
Always indicates success. Returns the number of bytes in a page. 


Previous Page | Next Page | Table of Contents | Index