summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/modnext.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/modnext.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/modnext.2')
-rw-r--r--lib/libc/sys/modnext.211
1 files changed, 9 insertions, 2 deletions
diff --git a/lib/libc/sys/modnext.2 b/lib/libc/sys/modnext.2
index dc578ad..b512b7b 100644
--- a/lib/libc/sys/modnext.2
+++ b/lib/libc/sys/modnext.2
@@ -41,8 +41,9 @@
.Ft int
.Fn modfnext "int modid"
.Sh DESCRIPTION
-The function
+The
.Fn modnext
+system call
returns the modid of the next kernel module (that is, the one after
.Va modid )
or 0 if
@@ -54,11 +55,17 @@ If the
value is 0, then
.Fn modnext
will return the modid of the first module.
+The
.Fn modfnext
+system call
must always be given a valid modid.
.Sh RETURN VALUES
+The
.Fn modnext
-returns the modid of the next module (see DESCRIPTION) or 0. If an error
+system call
+returns the modid of the next module (see
+.Sx DESCRIPTION )
+or 0. If an error
occurs,
.Va errno
is set to indicate the error.
OpenPOWER on IntegriCloud