summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/sysctl.3
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2002-12-18 10:13:54 +0000
committerru <ru@FreeBSD.org>2002-12-18 10:13:54 +0000
commitd0db69d964a72128c1dcb81af009e3bd728c7876 (patch)
treed7fc87dbba410fea9fb526ffb94f2409d3c5f8cc /lib/libc/gen/sysctl.3
parentaf6f15fd347359b35b89710f15c02dffacf8d980 (diff)
downloadFreeBSD-src-d0db69d964a72128c1dcb81af009e3bd728c7876.zip
FreeBSD-src-d0db69d964a72128c1dcb81af009e3bd728c7876.tar.gz
mdoc(7) police: "The .Fn function".
Diffstat (limited to 'lib/libc/gen/sysctl.3')
-rw-r--r--lib/libc/gen/sysctl.39
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/libc/gen/sysctl.3 b/lib/libc/gen/sysctl.3
index 69e611c..6ea38c3 100644
--- a/lib/libc/gen/sysctl.3
+++ b/lib/libc/gen/sysctl.3
@@ -233,18 +233,19 @@ Each time it runs,
gets the list of debugging variables from the kernel and
displays their current values.
The system defines twenty
-.Ns ( Va struct ctldebug )
+.Pq Vt "struct ctldebug"
variables named
-.Nm debug0
+.Va debug0
through
-.Nm debug19 .
+.Va debug19 .
They are declared as separate variables so that they can be
individually initialized at the location of their associated variable.
The loader prevents multiple use of the same variable by issuing errors
if a variable is initialized in more than one place.
For example, to export the variable
-.Nm dospecialcheck
+.Va dospecialcheck
as a debugging variable, the following declaration would be used:
+.Pp
.Bd -literal -offset indent -compact
int dospecialcheck = 1;
struct ctldebug debug5 = { "dospecialcheck", &dospecialcheck };
OpenPOWER on IntegriCloud