svn commit: r368084 - head/lib/libprocstat
Mateusz Piotrowski
0mp at FreeBSD.org
Thu Nov 26 22:49:06 UTC 2020
Author: 0mp (doc,ports committer)
Date: Thu Nov 26 22:49:05 2020
New Revision: 368084
URL: https://svnweb.freebsd.org/changeset/base/368084
Log:
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
Modified:
head/lib/libprocstat/libprocstat.3
Modified: head/lib/libprocstat/libprocstat.3
==============================================================================
--- head/lib/libprocstat/libprocstat.3 Thu Nov 26 20:27:23 2020 (r368083)
+++ head/lib/libprocstat/libprocstat.3 Thu Nov 26 22:49:05 2020 (r368084)
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd July 29, 2017
+.Dd November 26, 2020
.Dt LIBPROCSTAT 3
.Os
.Sh NAME
@@ -345,7 +345,7 @@ structure from one of the
functions, a pointer to
.Vt kinfo_proc
structure from the array obtained from the
-.Fn kvm_getprocs
+.Fn procstat_getprocs
function, and returns a null-terminated argument vector that corresponds to
the command line arguments passed to the process.
The
@@ -402,7 +402,7 @@ structure initialized with one of the
functions, a pointer to
.Vt kinfo_proc
structure from the array obtained from the
-.Fn kvm_getprocs
+.Fn procstat_getprocs
function, and returns a dynamically allocated linked list of filled in
.Vt filestat_list
structures using the STAILQ macros defined in
More information about the svn-src-head
mailing list