Support numeric value for --signal

This commit is contained in:
Shuanglei Tao
2017-11-05 11:17:03 +08:00
parent a59da79d62
commit a5b8905c19
6 changed files with 17 additions and 22 deletions

View File

@@ -19,7 +19,7 @@ endswith(const char *str, const char *suffix);
// Get human readable signal string
int
get_sig_name(int sig, char *buf);
get_sig_name(int sig, char *buf, size_t len);
// Get signal code from string like SIGHUP
int