diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-06-02 05:29:00 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-06-02 05:29:00 +0000 |
commit | 3e2b3206473d422f933e48545bb8183a05d60949 (patch) | |
tree | 4a5d82ddb29e7f86eec90c2ddb67806178d9a663 /lib | |
parent | 0915e855646867551b9e2a8a3bd2d410ae0848b2 (diff) |
tell people to use sysconf(3) now; kleink
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/gen/getpagesize.3 | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/libc/gen/getpagesize.3 b/lib/libc/gen/getpagesize.3 index 98d47ab9b18..ac2f0e0818c 100644 --- a/lib/libc/gen/getpagesize.3 +++ b/lib/libc/gen/getpagesize.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getpagesize.3,v 1.2 1996/08/19 08:23:51 tholo Exp $ +.\" $OpenBSD: getpagesize.3,v 1.3 1998/06/02 05:28:59 deraadt Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -42,6 +42,13 @@ .Ft int .Fn getpagesize void .Sh DESCRIPTION +.Bf -symbolic +This interface is obsoleted by +.Xr sysconf 3 . +Use +.Fn sysconf _SC_PAGESIZE . +.Ef +.Pp .Fn Getpagesize returns the number of bytes in a page. Page granularity is the granularity of many of the memory @@ -52,6 +59,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 |