svn commit: r194240 - head/lib/libutil

John Baldwin jhb at FreeBSD.org
Mon Jun 15 15:43:01 UTC 2009


Author: jhb
Date: Mon Jun 15 15:43:00 2009
New Revision: 194240
URL: http://svn.freebsd.org/changeset/base/194240

Log:
  Note that the structures are defined in <sys/user.h> in the text (using
  language from stat(2)) rather than in the synopsis.
  
  Requested by:	bde

Modified:
  head/lib/libutil/kinfo_getfile.3
  head/lib/libutil/kinfo_getvmmap.3

Modified: head/lib/libutil/kinfo_getfile.3
==============================================================================
--- head/lib/libutil/kinfo_getfile.3	Mon Jun 15 14:44:55 2009	(r194239)
+++ head/lib/libutil/kinfo_getfile.3	Mon Jun 15 15:43:00 2009	(r194240)
@@ -35,7 +35,6 @@
 .Lb libutil
 .Sh SYNOPSIS
 .In sys/types.h
-.In sys/user.h
 .In libutil.h
 .Ft struct kinfo_file *
 .Fn kinfo_getfile "pid_t pid" "int *cntp"
@@ -63,7 +62,8 @@ On success the
 .Fn kinfo_getfile
 function returns a pointer to an array of
 .Vt struct kinfo_file
-structures.
+structures as defined by
+.In sys/user.h .
 The array was obtained by an internal call to
 .Xr malloc 3
 and must be freed by the caller with a call to

Modified: head/lib/libutil/kinfo_getvmmap.3
==============================================================================
--- head/lib/libutil/kinfo_getvmmap.3	Mon Jun 15 14:44:55 2009	(r194239)
+++ head/lib/libutil/kinfo_getvmmap.3	Mon Jun 15 15:43:00 2009	(r194240)
@@ -35,7 +35,6 @@
 .Lb libutil
 .Sh SYNOPSIS
 .In sys/types.h
-.In sys/user.h
 .In libutil.h
 .Ft struct kinfo_vmentry *
 .Fn kinfo_getfile "pid_t pid" "int *cntp"
@@ -63,7 +62,8 @@ On success the
 .Fn kinfo_getvmmap
 function returns a pointer to an array of
 .Vt struct kinfo_vmentry
-structures.
+structures as defined by
+.In sys/user.h .
 The array was obtained by an internal call to
 .Xr malloc 3
 and must be freed by the caller with a call to


More information about the svn-src-all mailing list