Open System Services Library Calls Reference Manual (G06.28+, H06.05+)
getpagesize(3) OSS Library Calls Reference Manual
NAME
getpagesize - Gets the current page size
LIBRARY
G-series native OSS processes: /G/system/sysnn/zosshsrl
H-series OSS processes: /G/system/zdllnnn/zosshdll
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).
3−56 Hewlett-Packard Company 527187-007