getpagesize(2) — System Calls
OSF
NAME
getpagesize − Gets the system page size
SYNOPSIS
int getpagesize ( void );
DESCRIPTION
The getpagesize() function returns the number of bytes in a page. Knowing the system page size is useful for specifying arguments to memory management system calls.
The page size is a system page size and may not be the same as the underlying hardware page size.
RETURN VALUES
The getpagesize() function returns the number of bytes in a page, and is always successful.
RELATED INFORMATION
Functions: brk(2), getrlimit(2), mmap(2), mprotect(2), munmap(2), sysconf(3), madvise(2), msync(2)