Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX Reference > G

getpagesize(2)

HP-UX 11i Version 3: February 2007
» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index

NAME

getpagesize — get the current page size

SYNOPSIS

#include <unistd.h>

int getpagesize(void);

DESCRIPTION

The getpagesize() function returns the current page size.

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

RETURN VALUE

The getpagesize() function returns the current page size.

ERRORS

No errors are defined.

APPLICATION USAGE

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().

CHANGE HISTORY

First released in Issue 4, Version 2.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1983-2007 Hewlett-Packard Development Company, L.P.