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

  man pages->HP-UX 11i man pages -> getpagesize (2)              
Title
Content
Arch
Section
 

Contents


 getpagesize(2)                                               getpagesize(2)




 NAME    [Toc]    [Back]
      getpagesize - get the current page size

 SYNOPSIS    [Toc]    [Back]
      #include <unistd.h>

      int getpagesize(void);

 DESCRIPTION    [Toc]    [Back]
      The getpagesize() function returns the current page size.

      The getpagesize() function is equivalent to sysconf(_SC_PAGE_SIZE) and
      sysconf(_SC_PAGESIZE).

 RETURN VALUE    [Toc]    [Back]
      The getpagesize() function returns the current page size.

 ERRORS    [Toc]    [Back]
      No errors are defined.

 APPLICATION USAGE    [Toc]    [Back]
      The value returned by getpagesize() need not be the minimum value that
      malloc() can allocate. Moreover, the application cannot assume that an
      object of this size can be allocated with malloc().

 SEE ALSO    [Toc]    [Back]
      brk(2), getrlimit(2), mmap(2), mprotect(2), munmap(2), msync(2),
      sysconf(2), <unistd.h>.

 CHANGE HISTORY    [Toc]    [Back]
      First released in Issue 4, Version 2.


 Hewlett-Packard Company            - 1 -   HP-UX 11i Version 2: August 2003
[ Back ]
      
      
 Similar pages
Name OS Title
getpagesize IRIX get system page size
getpagesize FreeBSD get system page size
getpagesize OpenBSD get system page size
getpagesize Tru64 Get the system page size
getpagesize Linux get system page size
getpagesize NetBSD get system page size
pagesize OpenBSD print system page size
vm_set_page_size FreeBSD initialize the system page size
pagesize FreeBSD print system page size
pagesize Tru64 Displays system memory page size
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service