diff options
author | bde <bde@FreeBSD.org> | 1999-04-09 14:31:59 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1999-04-09 14:31:59 +0000 |
commit | 6f90f82fc7fb8272762925d9cb3a22d2d0b5afc7 (patch) | |
tree | e0ca0b6b18efafbbc367b0ea6ed0af8342ad10e7 /lib | |
parent | 9dd48e58c35657d065e324a437dc2d8d77a28490 (diff) | |
download | FreeBSD-src-6f90f82fc7fb8272762925d9cb3a22d2d0b5afc7.zip FreeBSD-src-6f90f82fc7fb8272762925d9cb3a22d2d0b5afc7.tar.gz |
Fixed missing include in synopsis.
Fixed some mdoc usage errors.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/sys/kldfind.2 | 6 | ||||
-rw-r--r-- | lib/libc/sys/kldfirstmod.2 | 5 | ||||
-rw-r--r-- | lib/libc/sys/kldload.2 | 4 | ||||
-rw-r--r-- | lib/libc/sys/kldnext.2 | 4 | ||||
-rw-r--r-- | lib/libc/sys/kldstat.2 | 7 | ||||
-rw-r--r-- | lib/libc/sys/kldunload.2 | 8 |
6 files changed, 13 insertions, 21 deletions
diff --git a/lib/libc/sys/kldfind.2 b/lib/libc/sys/kldfind.2 index cc43bf3..ff2c06c 100644 --- a/lib/libc/sys/kldfind.2 +++ b/lib/libc/sys/kldfind.2 @@ -23,7 +23,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $Id$ +.\" $Id: kldfind.2,v 1.1 1999/04/04 12:29:31 dfr Exp $ .\" .Dd March 3, 1999 .Dt KLDFIND 2 @@ -32,8 +32,8 @@ .Nm kldfind .Nd returns the fileid of a kld file .Sh SYNOPSIS +.Fd #include <sys/param.h> .Fd #include <sys/linker.h> -.br .Ft int .Fn kldfind "const char *file" .Sh DESCRIPTION @@ -62,9 +62,7 @@ The data required for this operation could not be read from the kernel space. The file specified by .Va file does not exist or is not readable. -.Ed .Sh HISTORY The .Nm kld interface first appeared in FreeBSD 3.0. - diff --git a/lib/libc/sys/kldfirstmod.2 b/lib/libc/sys/kldfirstmod.2 index 5df99f1..27db01a 100644 --- a/lib/libc/sys/kldfirstmod.2 +++ b/lib/libc/sys/kldfirstmod.2 @@ -23,7 +23,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $Id$ +.\" $Id: kldfirstmod.2,v 1.1 1999/04/04 12:29:31 dfr Exp $ .\" .Dd March 3, 1999 .Dt KLDFIRSTMOD 2 @@ -32,8 +32,8 @@ .Nm kldfirstmod .Nd "return first module id from the kld file specified" .Sh SYNOPSIS +.Fd #include <sys/param.h> .Fd #include <sys/linker.h> -.br .Ft int .Fn kldfirstmod "int fileid" .Sh DESCRIPTION @@ -53,7 +53,6 @@ or 0 if there are no references. The kld file referenced by .Va fileid was not found. -.Ed .Sh HISTORY The .Nm kld diff --git a/lib/libc/sys/kldload.2 b/lib/libc/sys/kldload.2 index 5d36748..b71d25e 100644 --- a/lib/libc/sys/kldload.2 +++ b/lib/libc/sys/kldload.2 @@ -23,7 +23,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $Id$ +.\" $Id: kldload.2,v 1.1 1999/04/04 12:29:31 dfr Exp $ .\" .Dd March 3, 1999 @@ -34,8 +34,8 @@ .Nm kldunload .Nd load KLD files into the kernel .Sh SYNOPSIS +.Fd #include <sys/param.h> .Fd #include <sys/linker.h> -.br .Ft int .Fn kldload "const char *file" .Sh DESCRIPTION diff --git a/lib/libc/sys/kldnext.2 b/lib/libc/sys/kldnext.2 index 5b616f8..b1cb629 100644 --- a/lib/libc/sys/kldnext.2 +++ b/lib/libc/sys/kldnext.2 @@ -23,7 +23,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $Id$ +.\" $Id: kldnext.2,v 1.1 1999/04/04 12:29:31 dfr Exp $ .\" .Dd March 3, 1999 .Dt KLDNEXT 2 @@ -32,8 +32,8 @@ .Nm kldnext .Nd return the fileid of the next kld file .Sh SYNOPSIS +.Fd #include <sys/param.h> .Fd #include <sys/linker.h> -.br .Ft int .Fn kldnext "int fileid" .Sh DESCRIPTION diff --git a/lib/libc/sys/kldstat.2 b/lib/libc/sys/kldstat.2 index 4e46c29..a4846c0 100644 --- a/lib/libc/sys/kldstat.2 +++ b/lib/libc/sys/kldstat.2 @@ -23,7 +23,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $Id$ +.\" $Id: kldstat.2,v 1.1 1999/04/04 12:29:31 dfr Exp $ .\" .Dd March 3, 1999 .Dt KLDSTAT 2 @@ -32,8 +32,8 @@ .Nm kldstat .Nd get status of kld file .Sh SYNOPSIS +.Fd #include <sys/param.h> .Fd #include <sys/linker.h> -.br .Ft int .Fn kldstat "int fileid" "struct kld_file_stat *stat" .Sh DESCRIPTION @@ -43,7 +43,6 @@ function writes the info for the file referred to by .Va fileid into .Va stat . -.br .Bd -literal struct kld_file_stat { int version; /* set to sizeof(linker_file_stat) */ @@ -76,7 +75,6 @@ The id of the file specified in The load address of the kld file. .It size The size of the file. -.Ed .Sh RETURN VALUES .Fn kldstat seems to always return 0. @@ -103,7 +101,6 @@ There was a problem copying one, some, or all of the fields into in the .Fn copyout function. -.Ed .Sh HISTORY The .Nm kld 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 |