summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/kldstat.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/kldstat.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/kldstat.2')
-rw-r--r--lib/libc/sys/kldstat.27
1 files changed, 2 insertions, 5 deletions
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
OpenPOWER on IntegriCloud