summaryrefslogtreecommitdiffstats
path: root/lib/libdevstat/devstat.3
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2000-11-20 14:08:07 +0000
committerru <ru@FreeBSD.org>2000-11-20 14:08:07 +0000
commit55a23507010ea3eabe58edf611fdf921fabc3374 (patch)
treef68adc2207725517e5407782ea717cfb44f4ad96 /lib/libdevstat/devstat.3
parent1459feb910bbe4e2cfeb7f7687f6b093d9cbf0cc (diff)
downloadFreeBSD-src-55a23507010ea3eabe58edf611fdf921fabc3374.zip
FreeBSD-src-55a23507010ea3eabe58edf611fdf921fabc3374.tar.gz
mdoc(7) police: use the new features of the Nm macro.
Diffstat (limited to 'lib/libdevstat/devstat.3')
-rw-r--r--lib/libdevstat/devstat.316
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/libdevstat/devstat.3 b/lib/libdevstat/devstat.3
index df2b9dc..d2c929c 100644
--- a/lib/libdevstat/devstat.3
+++ b/lib/libdevstat/devstat.3
@@ -109,17 +109,17 @@ interface, which is accessible to users via
.Pp
.Fn getnumdevs
returns the number of devices registered with the
-.Nm devstat
+.Nm
subsystem in the kernel.
.Pp
.Fn getgeneration
returns the current generation of the
-.Nm devstat
+.Nm
list of devices in the kernel.
.Pp
.Fn getversion
returns the current kernel
-.Nm devstat
+.Nm
version.
.Pp
.Fn checkversion
@@ -174,9 +174,9 @@ The
.Va kern.devstat.all
.Nm sysctl
variable contains an array of
-.Nm devstat
+.Nm
structures, but at the head of the array is the current
-.Nm devstat
+.Nm
generation. The reason the generation is at the head of the buffer is so
that userland software accessing the devstat statistics information can
atomically get both the statistics information and the corresponding
@@ -201,7 +201,7 @@ structures from the
.Va kern.devstat.all
.Nm sysctl
variable. The generation subelement of the
-.Nm devinfo
+.Va devinfo
structure contains the generation number from the
.Va kern.devstat.all
.Nm sysctl
@@ -212,7 +212,7 @@ subelement of the
.Va devinfo
structure contains the current
number of devices registered with the kernel
-.Nm devstat
+.Nm
subsystem.
.Pp
.Fn selectdevs
@@ -476,7 +476,7 @@ fetching the variable.
.Pp
.Fn checkversion
returns 0 if the kernel and userland
-.Nm devstat
+.Nm
versions match. If they do not match, it returns -1.
.Pp
.Fn getdevs
OpenPOWER on IntegriCloud