diff options
author | Martin Reindl <martin@cvs.openbsd.org> | 2005-03-30 11:03:39 +0000 |
---|---|---|
committer | Martin Reindl <martin@cvs.openbsd.org> | 2005-03-30 11:03:39 +0000 |
commit | e661150b57224a84bc153f9446275dc3d4183c46 (patch) | |
tree | a2e6488bd4f302a32f6ae4aedc500a47ee27a35a | |
parent | 86f92b025bd4c71587f3882fc51bdfe296780410 (diff) |
pagesize(1) uses sysctl(8) instead of getpagesize(3)
lots of input and ok jmc@
-rw-r--r-- | usr.bin/pagesize/pagesize.1 | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/usr.bin/pagesize/pagesize.1 b/usr.bin/pagesize/pagesize.1 index a5113c65249..88c115e1ae5 100644 --- a/usr.bin/pagesize/pagesize.1 +++ b/usr.bin/pagesize/pagesize.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: pagesize.1,v 1.6 2003/06/03 02:56:14 millert Exp $ +.\" $OpenBSD: pagesize.1,v 1.7 2005/03/30 11:03:38 martin Exp $ .\" $NetBSD: pagesize.1,v 1.4 1995/08/31 23:38:50 jtc Exp $ .\" .\" Copyright (c) 1983, 1990, 1993 @@ -41,12 +41,14 @@ .Sh DESCRIPTION .Nm pagesize prints the size of a page of memory in bytes, as -returned by -.Xr getpagesize 3 . +returned by the +.Xr sysctl 8 +variable +.Va hw.pagesize . This program is useful in constructing portable shell scripts. .Sh SEE ALSO -.Xr getpagesize 3 +.Xr sysctl 8 .Sh HISTORY The .Nm pagesize |