Gets the system page size. Format #include <unistd.h> int getpagesize (void);
1 – Description
The getpagesize function returns the number of bytes in a page. The system page size is useful for specifying arguments to memory management system calls. The page size is a system page size and is not necessarily the same as the underlying hardware page size.
2 – Return Value
x Always indicates success. Returns the number of bytes in a page.