summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authormglocker <mglocker@openbsd.org>2020-12-29 12:28:23 +0000
committermglocker <mglocker@openbsd.org>2020-12-29 12:28:23 +0000
commitcdf311310f1bca9abe45729faa364c27320bf917 (patch)
treeb53ce246ed90567977ffe84ed051068bbe4bdea0 /lib/libc
parentsync usage() with SYNOPSIS; the -S option remains (diff)
downloadwireguard-openbsd-cdf311310f1bca9abe45729faa364c27320bf917.tar.xz
wireguard-openbsd-cdf311310f1bca9abe45729faa364c27320bf917.zip
Document kern.video.record.
With help/input from jmc@ and kn@. ok jmc@
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/sysctl.221
1 files changed, 19 insertions, 2 deletions
diff --git a/lib/libc/sys/sysctl.2 b/lib/libc/sys/sysctl.2
index 0b9be238c59..d430659cde3 100644
--- a/lib/libc/sys/sysctl.2
+++ b/lib/libc/sys/sysctl.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sysctl.2,v 1.41 2020/08/04 09:32:05 mvs Exp $
+.\" $OpenBSD: sysctl.2,v 1.42 2020/12/29 12:28:23 mglocker 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: August 4 2020 $
+.Dd $Mdocdate: December 29 2020 $
.Dt SYSCTL 2
.Os
.Sh NAME
@@ -491,6 +491,7 @@ information.
.It Dv KERN_TTYCOUNT Ta "integer" Ta "no"
.It Dv KERN_UTC_OFFSET Ta "integer" Ta "yes"
.It Dv KERN_VERSION Ta "string" Ta "no"
+.It Dv KERN_VIDEO Ta "node" Ta "yes"
.It Dv KERN_WATCHDOG Ta "node" Ta "not applicable"
.It Dv KERN_WITNESS Ta "node" Ta "not applicable"
.It Dv KERN_WXABORT Ta "integer" Ta "yes"
@@ -1104,6 +1105,22 @@ greater than 0,
this variable may not be changed.
.It Dv KERN_VERSION Pq Va kern.version
The system version string.
+.It Dv KERN_VIDEO Pq Va kern.video
+Control device-independent aspects of the
+.Xr video 4
+subsystem.
+Currently, there is one subnode:
+.Bl -column "KERN_VIDEO_RECORD" "integer" "Changeable" -offset indent
+.It Sy "Third level name" Ta Sy "Type" Ta Sy "Changeable"
+.It Dv KERN_VIDEO_RECORD Ta "integer" Ta "yes"
+.El
+.Pp
+Its meaning is as follows:
+.Bl -tag -width "123456"
+.It Dv KERN_VIDEO_RECORD Pq Va kern.video.record
+If set to the default value of 0, recording is blanked for all video devices.
+If the value is non-zero, video recording is enabled.
+.El
.It Dv KERN_WATCHDOG Pq Va kern.watchdog
Return information on hardware watchdog timers.
If the kernel does not support a hardware watchdog timer,