summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/kldload.2
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2002-12-18 09:22:32 +0000
committerru <ru@FreeBSD.org>2002-12-18 09:22:32 +0000
commita4b155d7a2170a500eb79b46959eef4018441062 (patch)
treecb18f664ed0ee63bee30f6af9b148510b6e9663b /lib/libc/sys/kldload.2
parente7e659d1cc574138f455ed70d58a07294211ff5a (diff)
downloadFreeBSD-src-a4b155d7a2170a500eb79b46959eef4018441062.zip
FreeBSD-src-a4b155d7a2170a500eb79b46959eef4018441062.tar.gz
mdoc(7) police: Tidy up the syscall language.
Stop calling system calls "function calls". Use "The .Fn system call" a-la "The .Nm utility". When referring to a non-BSD implementation in the HISTORY section, call syscall a function, to be safe.
Diffstat (limited to 'lib/libc/sys/kldload.2')
-rw-r--r--lib/libc/sys/kldload.28
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/libc/sys/kldload.2 b/lib/libc/sys/kldload.2
index e289a5e..60db2ec 100644
--- a/lib/libc/sys/kldload.2
+++ b/lib/libc/sys/kldload.2
@@ -39,12 +39,14 @@
.Ft int
.Fn kldload "const char *file"
.Sh DESCRIPTION
-The function
+The
.Fn kldload
+system call
loads a kld file into the kernel using the kernel linker.
.Sh RETURN VALUES
-The function
+The
.Fn kldload
+system call
returns the fileid of the kld file which was loaded into the kernel.
If an error occurs,
.Fn kldload
@@ -58,7 +60,7 @@ The named file is loaded unless:
You do not have access to read the file or link it with the kernel.
You should be the root user to be able to use the
.Nm kld
-functions.
+system calls.
.It Bq Er EFAULT
Bad address encountered when adding kld info into the kernel space.
.It Bq Er ENOMEM
OpenPOWER on IntegriCloud