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

  man pages->Tru64 Unix man pages -> getpagesize (2)              
Title
Content
Arch
Section
 

getpagesize(2)

Contents


NAME    [Toc]    [Back]

       getpagesize - Get the system page size

SYNOPSIS    [Toc]    [Back]

       #include <unistd.h>

       int getpagesize
               void );

STANDARDS    [Toc]    [Back]

       Interfaces  documented  on  this reference page conform to
       industry standards as follows:

       getpagesize(): XSH4.2, XSH5.0

       The getpagesize() is marked as a LEGACY interface  in  the
       XSH specification, which recommends that portable applications
 use sysconf() rather than getpagesize().

       Refer to the standards(5) reference page for more information
 about industry standards and associated tags.

DESCRIPTION    [Toc]    [Back]

       The  getpagesize() function returns the number of bytes in
       a page. You might need to include this value in parameters
       to memory management system calls.

       The  page  size is an operating system page size and might
       differ from the underlying hardware page size.

RETURN VALUES    [Toc]    [Back]

       The getpagesize() function returns the number of bytes  in
       a page, and is always successful.

SEE ALSO    [Toc]    [Back]

      
      
       Functions:   brk(2),  getrlimit(2),  madvise(2),  mmap(2),
       mprotect(2), msync(2), munmap(2)

       Routines: sysconf(3)

       Standards: standards(5)



                                                   getpagesize(2)
[ Back ]
 Similar pages
Name OS Title
getpagesize NetBSD get system page size
getpagesize Linux get system page size
getpagesize FreeBSD get system page size
getpagesize IRIX get system page size
getpagesize OpenBSD get 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
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service