summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2009-06-15 15:43:00 +0000
committerjhb <jhb@FreeBSD.org>2009-06-15 15:43:00 +0000
commit824168c054176f782d55ed012d01b78f0d83a26d (patch)
tree3b9cfb412e185b80161ac1e4647b6357989fd104
parent91a5303162c14343bc9885558396339dd973b93b (diff)
downloadFreeBSD-src-824168c054176f782d55ed012d01b78f0d83a26d.zip
FreeBSD-src-824168c054176f782d55ed012d01b78f0d83a26d.tar.gz
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
-rw-r--r--lib/libutil/kinfo_getfile.34
-rw-r--r--lib/libutil/kinfo_getvmmap.34
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/libutil/kinfo_getfile.3 b/lib/libutil/kinfo_getfile.3
index dfbec0b..5705bf7 100644
--- a/lib/libutil/kinfo_getfile.3
+++ b/lib/libutil/kinfo_getfile.3
@@ -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
diff --git a/lib/libutil/kinfo_getvmmap.3 b/lib/libutil/kinfo_getvmmap.3
index d917fe8..488869a 100644
--- a/lib/libutil/kinfo_getvmmap.3
+++ b/lib/libutil/kinfo_getvmmap.3
@@ -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
OpenPOWER on IntegriCloud