getpagesize(3bsd) (BSD System Compatibility)
getpagesize --
(BSD) get system page size
Synopsis
/usr/ucb/cc [flag . . . ] file . . .
int getpagesize(VOID);
Description
getpagesize
returns the number of bytes in a page.
This is useful because many of the memory management system
calls return values in terms of a page-size aligned boundary.
The page size is a
system
page size and need not be the same as the underlying
hardware page size.
References
brk(2),
pagesize(1bsd)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.