(BSD System Compatibility)

getpagesize(3bsd)


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)
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004