Query: getpagesize
OS: sunos
Section: 3c
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
getpagesize(3C) Standard C Library Functions getpagesize(3C)NAMEgetpagesize - get system page sizeSYNOPSIS#include <unistd.h> int getpagesize(void);DESCRIPTIONThe getpagesize() function returns the number of bytes in a page. Page granularity is the granularity of many of the memory management calls. The page size is a system page size and need not be the same as the underlying hardware page size. The getpagesize() function is equivalent to sysconf(_SC_PAGE_SIZE) and sysconf(_SC_PAGESIZE). See sysconf(3C).RETURN VALUESThe getpagesize() function returns the current page size.ERRORSNo errors are defined.USAGEThe value returned by getpagesize() need not be the minimum value that malloc(3C) can allocate. Moreover, the application cannot assume that an object of this size can be allocated with malloc().ATTRIBUTESSee attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+SEE ALSOpagesize(1), brk(2), getrlimit(2), mmap(2), mprotect(2), munmap(2), malloc(3C), msync(3C), sysconf(3C), attributes(5) SunOS 5.10 27 Jun 2000 getpagesize(3C)
Related Man Pages |
---|
valloc(3) - redhat |
munmap(2) - osf1 |
ppgsz(1) - mojave |
ppgsz(1) - minix |
ppgsz(1) - hpux |
Similar Topics in the Unix Linux Community |
---|
Huge difference between _POSIX_OPEN_MAX and sysconf(_SC_OPEN_MAX). |
Mmap source |
Shc script size limitation and "_SC_ARG_MAX (see sysconf(2))" parameter |