Developer's Daily Unix by Example
  main | java | perl | unix | dev directory | web log
 
 
Main
Unix
Man Pages
   

GETPAGESIZE

NAME
SYNOPSIS
DESCRIPTION
NOTES
CONFORMING TO
SEE ALSO

NAME

getpagesize ? get system page size

SYNOPSIS

#include <unistd.h>

size_t getpagesize(void);

DESCRIPTION

Return the number of bytes in a page. This is the system’s page size, which is not necessarily the same as the hardware page size.

NOTES

getpagesize is implemented as a library function in DLL 4.4.1. Depending on what is defined when the library is compiled, this function returns EXEC_PAGESIZE (set to 4096 in Linux 0.99.11), NBPG (set to 4096 in Linux 0.99.11), or NBPC (not defined in Linux 0.99.11 or DLL 4.4.1 libraries).

CONFORMING TO

SVr4, 4.4BSD (this call first appeared in 4.2BSD).

SEE ALSO

sbrk(2)


copyright 1998-2007, devdaily.com, all rights reserved.
devdaily.com, an alvin j. alexander production.