diff options
author | 2008-02-09 15:34:36 +0000 | |
---|---|---|
committer | 2008-02-09 15:34:36 +0000 | |
commit | f210080b1a0811f9c34d816b1b207aa803d1e803 (patch) | |
tree | 451257c3f3c19d44d80eeb5c6594b4721410f644 | |
parent | Adjust type of hw.physmem and hw.usermem; they are 64-bit values now. (diff) | |
download | wireguard-openbsd-f210080b1a0811f9c34d816b1b207aa803d1e803.tar.xz wireguard-openbsd-f210080b1a0811f9c34d816b1b207aa803d1e803.zip |
Mention new HW_PHYSMEM64 and HW_USERMEM64 variables. Mark HW_PHYSMEM and
HW_USERMEM as deprecated and point people towards HW_PHYSMEM64/HW_USERMEM64.
-rw-r--r-- | lib/libc/gen/sysctl.3 | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/lib/libc/gen/sysctl.3 b/lib/libc/gen/sysctl.3 index d5c5de04db5..307e406ff5f 100644 --- a/lib/libc/gen/sysctl.3 +++ b/lib/libc/gen/sysctl.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: sysctl.3,v 1.177 2008/02/05 22:57:31 mpf Exp $ +.\" $OpenBSD: sysctl.3,v 1.178 2008/02/09 15:34:36 kettenis Exp $ .\" .\" Copyright (c) 1993 .\" The Regents of the University of California. All rights reserved. @@ -27,7 +27,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: February 5 2008 $ +.Dd $Mdocdate: February 9 2008 $ .Dt SYSCTL 3 .Os .Sh NAME @@ -285,11 +285,13 @@ privileges may change the value. .It Dv HW_NCPU No " integer no" .It Dv HW_PAGESIZE No " integer no" .It Dv HW_PHYSMEM No " integer no" +.It Dv HW_PHYSMEM64 No " int64_t no" .It Dv HW_PRODUCT No " string no" .It Dv HW_SENSORS No " node not applicable" .It Dv HW_SERIALNO No " string no" .It Dv HW_SETPERF No " integer yes" .It Dv HW_USERMEM No " integer no" +.It Dv HW_USERMEM64 No " int64_t no" .It Dv HW_UUID No " string no" .It Dv HW_VENDOR No " string no" .It Dv HW_VERSION No " string no" @@ -318,6 +320,11 @@ The number of CPUs. The software page size. .It Dv HW_PHYSMEM The total physical memory, in bytes. +This variable is deprecated; use +.Dv HW_PHYSMEM64 +instead. +.It Dv HW_PHYSMEM64 +The total physical memory, in bytes. .It Dv HW_PRODUCT The product name of the machine. .It Dv HW_SENSORS @@ -355,6 +362,11 @@ Current CPU performance .Pq percentage . .It Dv HW_USERMEM The amount of available non-kernel memory in bytes. +This variable is deprecated; use +.Dv HW_USERMEM64 +instead. +.It Dv HW_USERMEM64 +The amount of available non-kernel memory in bytes. .It Dv HW_UUID The universal unique identification number assigned to the machine. .It Dv HW_VENDOR |