strtoi
if (strtoi(token + 4, &signal))
else if (strtoi(token + 4, &pid))
if (strtoi(proc_entry->d_name, &pid)) {
__attribute__((__warn_unused_result__)) int strtoi(const char *s, int *res);