summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJim Warner <james.warner@comcast.net>2020-06-25 00:00:00 -0500
committerCraig Small <csmall@dropbear.xyz>2020-06-29 21:13:40 +1000
commit3df74e7f3c3ea8d801d78cea04bf9bf4717331b7 (patch)
tree709c8c42e02fef6968a20942c03aa0763bc729e6 /doc
parentc02fc0b977caff4e5d64b11742605ef17288907a (diff)
downloadprocps-ng-3df74e7f3c3ea8d801d78cea04bf9bf4717331b7.tar.gz
docs: just a few changes to that new pids man document
A patch to address the following man doc deficiencies: . shorten NAME so there's no wrap in an 80x24 terminal . typo wherein the 'item' parm should have been 'info' . expand RETURN text for a potential NULL upon success [ maybe, this might be my last tweak to this man doc ] Signed-off-by: Jim Warner <james.warner@comcast.net>
Diffstat (limited to 'doc')
-rw-r--r--doc/procps_pids.36
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/procps_pids.3 b/doc/procps_pids.3
index f538044..7deab46 100644
--- a/doc/procps_pids.3
+++ b/doc/procps_pids.3
@@ -21,7 +21,7 @@
.\"
.nh
.SH NAME
-procps_pids \- API to access task/thread information in the /proc filesystem
+procps_pids \- API to access process information in the /proc filesystem
.SH SYNOPSIS
.nf
@@ -134,7 +134,7 @@ or \fBreset\fR.
Lastly, a \fBfatal_proc_unmounted\fR function may be called before
any other function to ensure that the /proc/ directory is mounted.
-As such, the \fIitem\fR parameter would be NULL and the
+As such, the \fIinfo\fR parameter would be NULL and the
\fIreturn_self\fR parameter zero.
If, however, some items are desired for the issuing program (a
\fIreturn_self\fR other than zero) then the \fBnew\fR call must precede
@@ -154,6 +154,8 @@ An error will be indicated by a NULL return pointer
with the reason found in the formal errno value.
Success is indicated by a pointer to the named structure.
+However, if one survives the \fBfatal_proc_unmounted\fR call,
+NULL is always returned when \fIreturn_self\fR is zero.
.SH DEBUGGING
To aid in program development, there is a provision that can