*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->NetBSD man pages -> getpagesize (3)              
Title
Content
Arch
Section
 

GETPAGESIZE(3)

Contents


NAME    [Toc]    [Back]

     getpagesize - get system page size

LIBRARY    [Toc]    [Back]

     Standard C Library (libc, -lc)

SYNOPSIS    [Toc]    [Back]

     #include <unistd.h>

     int
     getpagesize(void);

DESCRIPTION    [Toc]    [Back]

     This interface is obsoleted by sysconf(3).

     getpagesize() returns the number of bytes in a page.  Page granularity is
     the granularity of many of the memory management calls.

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

SEE ALSO    [Toc]    [Back]

      
      
     pagesize(1), sbrk(2), sysconf(3)

HISTORY    [Toc]    [Back]

     The getpagesize function call appeared in 4.2BSD.

BSD                              June 4, 1993                              BSD
[ Back ]
 Similar pages
Name OS Title
getpagesize Tru64 Get the system page size
vm_set_page_size FreeBSD initialize the system page size
pagesize FreeBSD print system page size
pagesize OpenBSD print system page size
pagesize Tru64 Displays system memory page size
vps_ceiling HP-UX maximum (in kilobytes) of system-selectable page size
vps_pagesize HP-UX minimum (in kilobytes) of system-selected page size
getpagesize HP-UX get the current page size
page_size Tru64 Global Variable: Is the virtual page size
vps_chatr_ceiling HP-UX maximum (in kilobytes) of user selectable page size
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service