]> granicus.if.org Git - procps-ng/commit
pidof: modify to utilize the new procps_pids interface
authorJim Warner <james.warner@comcast.net>
Wed, 26 Aug 2015 05:00:00 +0000 (00:00 -0500)
committerCraig Small <csmall@enc.com.au>
Thu, 27 Aug 2015 12:23:05 +0000 (22:23 +1000)
commitd0b28bcefde825d94081591ce91cf46316e6c254
treed92d2d00aff260d33a0277d363557216a001b7de
parent272081cbe6f9a7062a5483c505a367997fa614b7
pidof: modify to utilize the new procps_pids interface

As an additional test of the viability of the new pids
API, the pidof program has now been converted. As part
of that effort, several library changes were prompted:

. individual reads were added as an alternative to the
all encompassing (maybe over broad?) 'reap' provision.

. an alternate version of cgroup, cmdline plus environ
has been added to represent actual vectorized strings.

Signed-off-by: Jim Warner <james.warner@comcast.net>
pidof.c