summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/kldstat.2
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/sys/kldstat.2')
-rw-r--r--lib/libc/sys/kldstat.210
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libc/sys/kldstat.2 b/lib/libc/sys/kldstat.2
index 0d28928..8b4e532 100644
--- a/lib/libc/sys/kldstat.2
+++ b/lib/libc/sys/kldstat.2
@@ -25,7 +25,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd March 3, 1999
+.Dd March 28, 2012
.Dt KLDSTAT 2
.Os
.Sh NAME
@@ -47,12 +47,12 @@ into
.Fa stat .
.Bd -literal
struct kld_file_stat {
- int version; /* set to sizeof(linker_file_stat) */
+ int version; /* set to sizeof(struct kld_file_stat) */
char name[MAXPATHLEN];
int refs;
int id;
- caddr_t address; /* load address */
- size_t size; /* size in bytes */
+ caddr_t address;
+ size_t size;
char pathname[MAXPATHLEN];
};
.Ed
@@ -76,7 +76,7 @@ The id of the file specified in
.It address
The load address of the kld file.
.It size
-The size of the file.
+The amount of memory in bytes allocated by the file.
.It pathname
The full name of the file referred to by
.Fa fileid ,
OpenPOWER on IntegriCloud