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);