1.\" Copyright (c) 1983, 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" %sccs.include.redist.man% 5.\" 6.\" @(#)getpagesize.3 8.1 (Berkeley) 06/04/93 7.\" 8.Dd 9.Dt GETPAGESIZE 3 10.Os BSD 4.2 11.Sh NAME 12.Nm getpagesize 13.Nd get system page size 14.Sh SYNOPSIS 15.Fd #include <unistd.h> 16.Ft int 17.Fn getpagesize void 18.Sh DESCRIPTION 19.Fn Getpagesize 20returns the number of bytes in a page. 21Page granularity is the granularity of many of the memory 22management calls. 23.Pp 24The page size is a 25.Xr system 26page size and may not be the same as the underlying 27hardware page size. 28.Sh SEE ALSO 29.Xr sbrk 2 , 30.Xr pagesize 1 31.Sh HISTORY 32The 33.Nm 34function call appeared in 35.Bx 4.2 . 36