]> granicus.if.org Git - procps-ng/commitdiff
docs: bring 2 man pages into agreement regarding sorts
authorJim Warner <james.warner@comcast.net>
Wed, 3 Feb 2021 06:00:00 +0000 (00:00 -0600)
committerCraig Small <csmall@dropbear.xyz>
Tue, 9 Feb 2021 05:40:52 +0000 (16:40 +1100)
Signed-off-by: Jim Warner <james.warner@comcast.net>
doc/procps.3
doc/procps_pids.3

index fe640ea52b602be9604550221a4ef590290429ff..bd566ec2494c027f2b39d092f43d083cf3f38411 100644 (file)
@@ -109,6 +109,8 @@ these interfaces.
 
 Optionally, a user may choose to sort results returned from
 a \fBreap\fR function call.
+The \fBsort\fR function parameters \fIstacks\fR and \fInumstacked\fR
+would normally be those returned in the `reaped' structure.
 
 .SS Caveats
 The \fBnew\fR, \fBref\fR, \fBunref\fR, \fBget\fR and \fBselect\fR
@@ -127,10 +129,7 @@ The \fBdiskstats\fR, \fBslabinfo\fR and \fBstat\fR interfaces support
 unpredictable variable outcomes.
 As such, they export a \fBreap\fR function to retrieve multiple `stacks'
 with a single invocation.
-
-Those same interfaces also offer a \fBsort\fR function whose
-parameters \fIstacks\fR and \fInumstacked\fR would normally be those
-returned in the `reaped' structure.
+These same interfaces also provide a \fBsort\fR function.
 
 .SH RETURN VALUE
 .SS Functions Returning an `int'
index ac33c6c50611a5f175c2f3da388e3d056ba132f7..7fc188056d940084e0a595269f07e9486ec9a388 100644 (file)
@@ -104,7 +104,7 @@ this interface.
 .fi
 
 Optionally, a user may choose to sort results returned from
-\fBreap\fR or \fBselect\fR.
+a \fBreap\fR or \fBselect\fR function call.
 The \fBsort\fR function parameters \fIstacks\fR and \fInumstacked\fR
 would normally be those returned in the `pids_fetch' structure.