47
47
#define FINALIZE_ATTEMPTS 50
49
49
static bool ignore_proc(pid_t pid) {
65
snprintf(buf, sizeof(buf), "/proc/%lu/cmdline", (unsigned long)pid);
69
snprintf(buf, sizeof(buf), "/proc/%lu/cmdline", (unsigned long) pid);
68
74
return true; /* not really, but has the desired effect */
70
76
count = fread(&c, 1, 1, f);
75
93
static int killall(int sign) {