getpagesize()
QNX SDP8.0C Library ReferenceAPIDeveloper
Get the memory page size (Legacy Unix)
Synopsis:
#include <unistd.h>
int getpagesize(void);
Library:
libc
Use the -l c option to qcc to link against this library. This library is usually included automatically.
Description:
The getpagesize() function gets the size in bytes of a page. It's equivalent to:
sysconf(_SC_PAGESIZE)
Returns:
The page size in bytes.
Classification:
Safety: | |
---|---|
Cancellation point | No |
Signal handler | Yes |
Thread | Yes |
Page updated: