libprocstat.3: Correct two occurrences of kvm_getprocs to procstat_getprocs
Submitted by: otis_sk.freebsd.org Reviewed by: markj MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D26151
This commit is contained in:
parent
1a1b8b1cb3
commit
16e1abe4e0
@ -24,7 +24,7 @@
|
|||||||
.\"
|
.\"
|
||||||
.\" $FreeBSD$
|
.\" $FreeBSD$
|
||||||
.\"
|
.\"
|
||||||
.Dd July 29, 2017
|
.Dd November 26, 2020
|
||||||
.Dt LIBPROCSTAT 3
|
.Dt LIBPROCSTAT 3
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
@ -345,7 +345,7 @@ structure from one of the
|
|||||||
functions, a pointer to
|
functions, a pointer to
|
||||||
.Vt kinfo_proc
|
.Vt kinfo_proc
|
||||||
structure from the array obtained from the
|
structure from the array obtained from the
|
||||||
.Fn kvm_getprocs
|
.Fn procstat_getprocs
|
||||||
function, and returns a null-terminated argument vector that corresponds to
|
function, and returns a null-terminated argument vector that corresponds to
|
||||||
the command line arguments passed to the process.
|
the command line arguments passed to the process.
|
||||||
The
|
The
|
||||||
@ -402,7 +402,7 @@ structure initialized with one of the
|
|||||||
functions, a pointer to
|
functions, a pointer to
|
||||||
.Vt kinfo_proc
|
.Vt kinfo_proc
|
||||||
structure from the array obtained from the
|
structure from the array obtained from the
|
||||||
.Fn kvm_getprocs
|
.Fn procstat_getprocs
|
||||||
function, and returns a dynamically allocated linked list of filled in
|
function, and returns a dynamically allocated linked list of filled in
|
||||||
.Vt filestat_list
|
.Vt filestat_list
|
||||||
structures using the STAILQ macros defined in
|
structures using the STAILQ macros defined in
|
||||||
|
Loading…
Reference in New Issue
Block a user