Open System Services Library Calls Reference Manual (G06.29+, H06.08+, J06.03+)

OSS Library Calls (g - h) getpagesize(3)
NAME
getpagesize - Gets the current page size
LIBRARY
G-series native OSS processes: /G/system/sysnn/zosshsrl
32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zosshdll |
64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yosshdll |
SYNOPSIS
#include <unistd.h>
int getpagesize(void);
DESCRIPTION
The getpagesize( ) function returns the current operating system page size. 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( ).
NOTES
The getpagesize( ) function can be called only by native processes.
RETURN VALUES
The getpagesize( ) function returns the current page size.
ERRORS
No errors are returned. This function does not set errno.
RELATED INFORMATION
Functions: malloc(3).
527187-017 Hewlett-Packard Company 399