svn commit: r220975 - head/lib/libc/sys

Glen Barber gjb at FreeBSD.org
Sat Apr 23 20:59:59 UTC 2011


Author: gjb (doc committer)
Date: Sat Apr 23 20:59:58 2011
New Revision: 220975
URL: http://svn.freebsd.org/changeset/base/220975

Log:
  - Clarification on kld_file_stat.size
  - While here, remove a few C comments that don't seem to contribute
    anything additional to the man page.
  
  PR:		146047
  Submitted by:	arundel
  MFC after:	3 days

Modified:
  head/lib/libc/sys/kldstat.2

Modified: head/lib/libc/sys/kldstat.2
==============================================================================
--- head/lib/libc/sys/kldstat.2	Sat Apr 23 17:37:14 2011	(r220974)
+++ head/lib/libc/sys/kldstat.2	Sat Apr 23 20:59:58 2011	(r220975)
@@ -25,7 +25,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd March 3, 1999
+.Dd April 23, 2011
 .Dt KLDSTAT 2
 .Os
 .Sh NAME
@@ -51,8 +51,8 @@ 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 ,


More information about the svn-src-head mailing list