commit | 2dd50adc460e63c57eddb696f908dd6b1abfd723 | [log] [tgz] |
---|---|---|
author | Rob Landley <rob@landley.net> | Sun Feb 26 13:48:00 2012 -0600 |
committer | Rob Landley <rob@landley.net> | Sun Feb 26 13:48:00 2012 -0600 |
tree | fe0a05588e4d8c2485cdba1113b213442693d92d | |
parent | bef57ed266cfad82114b5bb16052571035e9fff1 [diff] [blame] |
Factor out common code between killall/kill and move it to lib/lib.c, plus cleanups on kill.c.
diff --git a/lib/lib.h b/lib/lib.h index dd8a3f1..a695973 100644 --- a/lib/lib.h +++ b/lib/lib.h
@@ -126,3 +126,8 @@ struct mtab_list *getmountlist(int die); void bunzipStream(int src_fd, int dst_fd); + +// signal + +int sig_to_num(char *pidstr); +char *num_to_sig(int sig);