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:
parent
ae883d554a
commit
7b593c5d9d
@ -35,7 +35,6 @@
|
|||||||
.Lb libutil
|
.Lb libutil
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.In sys/types.h
|
.In sys/types.h
|
||||||
.In sys/user.h
|
|
||||||
.In libutil.h
|
.In libutil.h
|
||||||
.Ft struct kinfo_file *
|
.Ft struct kinfo_file *
|
||||||
.Fn kinfo_getfile "pid_t pid" "int *cntp"
|
.Fn kinfo_getfile "pid_t pid" "int *cntp"
|
||||||
@ -63,7 +62,8 @@ On success the
|
|||||||
.Fn kinfo_getfile
|
.Fn kinfo_getfile
|
||||||
function returns a pointer to an array of
|
function returns a pointer to an array of
|
||||||
.Vt struct kinfo_file
|
.Vt struct kinfo_file
|
||||||
structures.
|
structures as defined by
|
||||||
|
.In sys/user.h .
|
||||||
The array was obtained by an internal call to
|
The array was obtained by an internal call to
|
||||||
.Xr malloc 3
|
.Xr malloc 3
|
||||||
and must be freed by the caller with a call to
|
and must be freed by the caller with a call to
|
||||||
|
@ -35,7 +35,6 @@
|
|||||||
.Lb libutil
|
.Lb libutil
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.In sys/types.h
|
.In sys/types.h
|
||||||
.In sys/user.h
|
|
||||||
.In libutil.h
|
.In libutil.h
|
||||||
.Ft struct kinfo_vmentry *
|
.Ft struct kinfo_vmentry *
|
||||||
.Fn kinfo_getfile "pid_t pid" "int *cntp"
|
.Fn kinfo_getfile "pid_t pid" "int *cntp"
|
||||||
@ -63,7 +62,8 @@ On success the
|
|||||||
.Fn kinfo_getvmmap
|
.Fn kinfo_getvmmap
|
||||||
function returns a pointer to an array of
|
function returns a pointer to an array of
|
||||||
.Vt struct kinfo_vmentry
|
.Vt struct kinfo_vmentry
|
||||||
structures.
|
structures as defined by
|
||||||
|
.In sys/user.h .
|
||||||
The array was obtained by an internal call to
|
The array was obtained by an internal call to
|
||||||
.Xr malloc 3
|
.Xr malloc 3
|
||||||
and must be freed by the caller with a call to
|
and must be freed by the caller with a call to
|
||||||
|
Loading…
x
Reference in New Issue
Block a user