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
This commit is contained in:
John Baldwin 2009-06-15 15:43:00 +00:00
parent ae883d554a
commit 7b593c5d9d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=194240
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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