aboutsummaryrefslogtreecommitdiff
path: root/lib/lib.h
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2012-02-18 15:12:41 -0600
committerRob Landley <rob@landley.net>2012-02-18 15:12:41 -0600
commitff9ee8fc15e1a41bffe06bfcee30368e7c117601 (patch)
tree4806b88fe328eb96c4a9f7df41dd5c8859a56117 /lib/lib.h
parent3c1104ff57f22495a7711eabb4c0d3b5cda4a982 (diff)
downloadtoybox-ff9ee8fc15e1a41bffe06bfcee30368e7c117601.tar.gz
Add killall by Andreas Heck, and factor out common pid code to lib.h.
Diffstat (limited to 'lib/lib.h')
-rw-r--r--lib/lib.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/lib.h b/lib/lib.h
index b7f250b8..0193ebd0 100644
--- a/lib/lib.h
+++ b/lib/lib.h
@@ -110,6 +110,8 @@ void replace_tempfile(int fdin, int fdout, char **tempname);
void crc_init(unsigned int *crc_table, int little_endian);
void terminal_size(unsigned *x, unsigned *y);
int yesno(int def);
+int for_each_pid_with_name_in(char **names,
+ void (*callback) (const char *pid));
// getmountlist.c