getpagesize - get the current page size (LEGACY)
#include <unistd.h> int getpagesize(void);
The getpagesize() function returns the current page size.The getpagesize() function is equivalent to sysconf(_SC_PAGE_SIZE) and sysconf(_SC_PAGESIZE).
This interface need not be reentrant.
The getpagesize() function returns the current page size.
No errors are defined.
None.
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().This interface, returning an int, may have problems representing appropriate values in the future. Applications should use the sysconf() function instead.
None.
getrlimit(), mmap(), mprotect(), munmap(), msync(), sysconf(), <unistd.h>.