aboutsummaryrefslogtreecommitdiff
path: root/lib/libutil/kld.3
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2006-09-30 10:34:13 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2006-09-30 10:34:13 +0000
commitad136d1e29fa5fcb8f2635d42b7c8a1dfef4ff50 (patch)
treebd9e0c431c6189606806a096fb14fcdea697b3ae /lib/libutil/kld.3
parentbb4b8a9dd40585a9e7e21db3f6926f3661732c86 (diff)
Notes
Diffstat (limited to 'lib/libutil/kld.3')
-rw-r--r--lib/libutil/kld.314
1 files changed, 4 insertions, 10 deletions
diff --git a/lib/libutil/kld.3 b/lib/libutil/kld.3
index c0cd6d539725..decaee789eef 100644
--- a/lib/libutil/kld.3
+++ b/lib/libutil/kld.3
@@ -49,26 +49,20 @@ The
function takes a name and returns a non-zero value if a module of that
name is currently loaded.
The name can be either the name of a module file
-.Po
-.Va cpufreq.ko
-.Pc ,
+.Pq Pa cpufreq.ko ,
the same name without the
.Pa .ko
extension
-.Po
-.Va cpufreq
-.Pc ,
+.Pq Pa cpufreq ,
or the name of a module contained within that file
-.Po
-.Va cpu/ichss
-.Pc .
+.Pq Pa cpu/ichss .
Only the latter will return correct results if the module is compiled
into the kernel.
.Pp
The
.Fn kld_load
function is a simple wrapper around the
-.Fn kldload
+.Xr kldload 2
function.
It returns zero if and only if the corresponding
.Fn kldload