getpagesize

Name

getpagesize -- get memory page size (DEPRECATED)

Synopsis

#include <unistd.h>

int getpagesize (void );

Description

The function getpagesize() returns the number of bytes in a meory page.

Note: The getpagesize() function is deprecated. Portable applications should use sysconf(_SC_PAGE_SIZE) instead.

Return Value

The getpagesize() function returns the current page size.

Errors

No errors are defined.