summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/kldunload.2
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1999-04-09 14:31:59 +0000
committerbde <bde@FreeBSD.org>1999-04-09 14:31:59 +0000
commit6f90f82fc7fb8272762925d9cb3a22d2d0b5afc7 (patch)
treee0ca0b6b18efafbbc367b0ea6ed0af8342ad10e7 /lib/libc/sys/kldunload.2
parent9dd48e58c35657d065e324a437dc2d8d77a28490 (diff)
downloadFreeBSD-src-6f90f82fc7fb8272762925d9cb3a22d2d0b5afc7.zip
FreeBSD-src-6f90f82fc7fb8272762925d9cb3a22d2d0b5afc7.tar.gz
Fixed missing include in synopsis.
Fixed some mdoc usage errors.
Diffstat (limited to 'lib/libc/sys/kldunload.2')
-rw-r--r--lib/libc/sys/kldunload.28
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/libc/sys/kldunload.2 b/lib/libc/sys/kldunload.2
index d8bbf6a..b32d4f2 100644
--- a/lib/libc/sys/kldunload.2
+++ b/lib/libc/sys/kldunload.2
@@ -23,7 +23,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $Id$
+.\" $Id: kldunload.2,v 1.1 1999/04/04 12:29:31 dfr Exp $
.\"
.Dd March 3, 1999
@@ -33,16 +33,15 @@
.Nm kldunload
.Nd unload kld files
.Sh SYNOPSIS
+.Fd #include <sys/param.h>
.Fd #include <sys/linker.h>
-.br
.Ft int
.Fn kldunload "int fileid"
.Sh DESCRIPTION
The function
.Fn kldunload
unloads a kld file from the kernel that was previously linked via
-.Xr kldload 3
-.
+.Xr kldload 3 .
.Sh RETURN VALUES
The function
.Fn kldunload
@@ -64,7 +63,6 @@ You don't have access to unlink the file from the kernel.
The file was not found.
.It Bq Er EBUSY
You attempted to unload a file linked by the kernel.
-.Ed
.Sh HISTORY
The
.Nm kld
OpenPOWER on IntegriCloud