aboutsummaryrefslogtreecommitdiff
path: root/procps/pidof.c
AgeCommit message (Collapse)Author
2002-10-22Patch last_pach62 from vodz. This patch moves all the /proc parsingEric Andersen
code into libbb so it can be shared by ps, top, etc, saving over 1.5k.
2002-05-22Made exit code SysV compliant. Also added -s (single pid) flag.Robert Griebl
2002-04-13Patch from Jim Treadway <jim@stardot-tech.com> to teachEric Andersen
pidof to not add trailing spaces when not needed.
2001-12-06If find_pid_by_name() had an error, it was returning -1, but storingEric Andersen
that into a pid_t, which is unsigned on a number archs. Furthermore, find_pid_by_name() would _never_ return an error if the intended proces was "init", but instead would return 1, meaning we would fail to work on 2.4.x kernels running an initrd... -Erik
2001-10-24Major rework of the directory structure and the entire build system.Eric Andersen
-Erik
2001-07-31I just wrote up a simple pidof applet, closing bug #1197Eric Andersen
-Erik