summaryrefslogtreecommitdiff
path: root/share/man/man9
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2007-03-22 16:55:32 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2007-03-22 16:55:32 +0000
commitbfcfcc95f91a9ef756b3184426381561b7f4dc23 (patch)
tree86156fd65b4c74f4b929cb5bcd06ed881f46f591 /share/man/man9
parentd0617786c492a05d286defedc41f1cac5a22411d (diff)
split userland & kernel struct sensor/sensordev so that the addition
of new fields in the future is less disruptive. This is done similar to how struct proc is handled for ps(1). ok jmc (man page changes) tested fkr simon, and more suggestions from millert
Diffstat (limited to 'share/man/man9')
-rw-r--r--share/man/man9/sensor_attach.918
1 files changed, 9 insertions, 9 deletions
diff --git a/share/man/man9/sensor_attach.9 b/share/man/man9/sensor_attach.9
index aaec0a1dbb5..78863ee85b9 100644
--- a/share/man/man9/sensor_attach.9
+++ b/share/man/man9/sensor_attach.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sensor_attach.9,v 1.3 2006/12/28 11:36:14 jmc Exp $
+.\" $OpenBSD: sensor_attach.9,v 1.4 2007/03/22 16:55:31 deraadt Exp $
.\"
.\" Copyright (c) 2006 Michael Knudsen <mk@openbsd.org>
.\" Copyright (c) 2006 Constantine A. Murenin <cnst+openbsd@bugmail.mojo.ru>
@@ -40,17 +40,17 @@
.Sh SYNOPSIS
.Fd #include <sys/sensors.h>
.Ft void
-.Fn "sensordev_install" "struct sensordev *sensdev"
+.Fn "sensordev_install" "struct ksensordev *sensdev"
.Ft void
-.Fn "sensordev_deinstall" "struct sensordev *sensdev"
-.Ft struct sensordev
+.Fn "sensordev_deinstall" "struct ksensordev *sensdev"
+.Ft struct ksensordev
.Fn "*sensordev_get" "int devnum"
.Pp
.Ft void
-.Fn "sensor_attach" "struct sensordev *sensdev" "struct sensor *sens"
+.Fn "sensor_attach" "struct ksensordev *sensdev" "struct ksensor *sens"
.Ft void
-.Fn "sensor_detach" "struct sensordev *sensdev" "struct sensor *sens"
-.Ft struct sensor
+.Fn "sensor_detach" "struct ksensordev *sensdev" "struct ksensor *sens"
+.Ft struct ksensor
.Fn "*sensor_find" "int devnum" "enum sensor_type stype" "int numt"
.Pp
.Ft int
@@ -90,7 +90,7 @@ takes ordinal number
.Pa devnum
specifying a sensor device and
returns a pointer to the corresponding
-.Vt struct sensordev ,
+.Vt struct ksensordev ,
or
.Dv NULL
if no such sensor device exists.
@@ -103,7 +103,7 @@ specifying a sensor device, sensor type
and ordinal number of sensor of such type
.Pa numt ,
and returns a pointer to the corresponding
-.Vt struct sensor ,
+.Vt struct ksensor ,
or
.Dv NULL
if no such sensor exists.