diff options
author | Jim Warner <james.warner@comcast.net> | 2016-04-17 00:00:00 -0500 |
---|---|---|
committer | Craig Small <csmall@enc.com.au> | 2016-04-18 19:29:41 +1000 |
commit | b4d21c74ac8b5514bc3619d534858d2b48879bb1 (patch) | |
tree | e752ba35cda4a84d47ab5088a783ca0177262ee3 /doc | |
parent | 81e0f15ac3181de19a687b481697a8f20565598f (diff) | |
download | procps-ng-b4d21c74ac8b5514bc3619d534858d2b48879bb1.tar.gz |
library: correct the procps_pid_length() +1 distortion
Unfortunately, reading that '/proc/sys/kernel/pid_max'
file returns a newline, which we will now account for.
[ also, we should use the existing dedicated buffer ]
Reference(s):
. original 'procps_pid_length' introduction
commit ccb6ae8de14b0cde25b84369ef995bcd69cbf7b6
Signed-off-by: Jim Warner <james.warner@comcast.net>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions