summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2021-11-03 00:48:09 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2021-11-03 00:48:09 +0000
commite475648b1b28e7e673e31e13dadfe9a2755130c3 (patch)
tree6755f8f5e0917f5d551796d176e9811de65ecc2f
parent2fc32a645ac3fc67096a10515c4ea7c678fcabd4 (diff)
mention hw.power
ok deraadt@
-rw-r--r--lib/libc/sys/sysctl.27
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/libc/sys/sysctl.2 b/lib/libc/sys/sysctl.2
index 0698de780a2..e78ab1661f7 100644
--- a/lib/libc/sys/sysctl.2
+++ b/lib/libc/sys/sysctl.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sysctl.2,v 1.45 2021/10/22 12:30:53 bluhm Exp $
+.\" $OpenBSD: sysctl.2,v 1.46 2021/11/03 00:48:08 jsg 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: October 22 2021 $
+.Dd $Mdocdate: November 3 2021 $
.Dt SYSCTL 2
.Os
.Sh NAME
@@ -291,6 +291,7 @@ privileges may change the value.
.It Dv HW_PERFPOLICY Ta "string" Ta "yes"
.It Dv HW_PHYSMEM Ta "integer" Ta "no"
.It Dv HW_PHYSMEM64 Ta "int64_t" Ta "no"
+.It Dv HW_POWER Ta "integer" Ta "no"
.It Dv HW_PRODUCT Ta "string" Ta "no"
.It Dv HW_SENSORS Ta "node" Ta "not applicable"
.It Dv HW_SETPERF Ta "integer" Ta "yes"
@@ -350,6 +351,8 @@ This variable is deprecated; use
instead.
.It Dv HW_PHYSMEM64 Pq Va hw.physmem
The total physical memory, in bytes.
+.It Dv HW_POWER Pq Va hw.power
+Machine has wall-power.
.It Dv HW_PRODUCT Pq Va hw.product
The product name of the machine.
.It Dv HW_SENSORS Pq Va hw.sensors