Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jun 2009 15:43:00 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r194240 - head/lib/libutil
Message-ID:  <200906151543.n5FFh08t093646@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906151543.n5FFh08t093646>