Declare this interface obsoleted by sysconf(_SC_PAGESIZE), which is the

portable equivalent to getpagesize().
This commit is contained in:
kleink 1998-05-24 20:26:02 +00:00
parent f555f6d93f
commit 3a9e28caea
1 changed files with 7 additions and 1 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: getpagesize.3,v 1.4 1998/04/28 20:11:34 fair Exp $
.\" $NetBSD: getpagesize.3,v 1.5 1998/05/24 20:26:02 kleink Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@ -46,6 +46,11 @@
.Ft int
.Fn getpagesize void
.Sh DESCRIPTION
.Bf -symbolic
This interface is obsoleted by
.Xr sysconf 3 .
.Ef
.Pp
.Fn Getpagesize
returns the number of bytes in a page.
Page granularity is the granularity of many of the memory management calls.
@ -55,6 +60,7 @@ The page size is a
page size and may not be the same as the underlying
hardware page size.
.Sh SEE ALSO
.Xr sysconf 3 ,
.Xr sbrk 2 ,
.Xr pagesize 1
.Sh HISTORY