procps/doc
Jim Warner fc4fb85e7b docs: replace 'procps_pids' stuff with revised version
The original approach contained a fatal flaw. In order
to use those man pages, users would have been required
to already know how to use the library. Or alternately
one could randomly search each of them while trying to
ascertain which function call satisfies their need and
what exactly was the proper compliment/order required.

So, this revised approach tries to simplify things and
document only what is not apparent in the header file.
Along the way, the following assumptions were germane.

1) It is the kernel folks' job to document /proc files
not to mention fields within those files. And since we
don't yet know what some of those fields represent, we
shouldn't attempt to document any of those we do know.

2) Our header file serves as an essential reference in
successful exploitation of this new library interface.

3) The description represents functions as they appear
in the header itself making them immediately familiar.

4) Armed with our header file users can easily see the
self-documenting enumerators & structures. There isn't
a need to explain them yet again in this man document.

5) Contrary to man guidelines, we shouldn't list error
codes. Simple generic guidance serves everyone better.

The following references represent a history for those
man documents this new version is intended to replace.

Reference(s):
. 04/18/16, create libproc.3 + procps_pids_new.3
commit 4217eddf47
. 04/19/16, create procps_pids_read_open.3
commit d48c54f679
. 01/05/17, create many procps_pids_... docs
commit 2598e9f2ce

Signed-off-by: Jim Warner <james.warner@comcast.net>
2020-06-23 19:09:05 +10:00
..
procps_linux_version.3 misc: eliminated every instance of trailing whitespace 2016-07-09 12:48:28 +10:00
procps_ns_get_id.3 docs: Add namespace man pages 2020-05-18 21:42:49 +10:00
procps_ns_get_name.3 docs: Add namespace man pages 2020-05-18 21:42:49 +10:00
procps_ns_read_pid.3 docs: Add namespace man pages 2020-05-18 21:42:49 +10:00
procps_pids.3 docs: replace 'procps_pids' stuff with revised version 2020-06-23 19:09:05 +10:00
procps_uptime_sprint_short.3 docs: Update the uptime man pages 2020-05-18 21:10:03 +10:00
procps_uptime_sprint.3 docs: Update the uptime man pages 2020-05-18 21:10:03 +10:00
procps_uptime.3 docs: Update the uptime man pages 2020-05-18 21:10:03 +10:00
procps.3 docs: update 'first cut' procps.3 with revised version 2020-06-23 19:09:05 +10:00