Lines Matching refs:sig
15 handler(int sig) in handler() argument
22 int sig, pid = getpid(), uid = getuid(); in main() local
27 for (sig = 1; sig <= 31; sig++) { in main()
28 if( sig != SIGKILL && sig != SIGSTOP) { in main()
29 sigaction(sig, &act, NULL); in main()
30 sigaddset(&mask, sig); in main()
35 for (sig = 1; sig <= 31; sig++) { in main()
36 if(sig != SIGKILL && sig != SIGSTOP) { in main()
37 if (kill(pid, sig) != 0) in main()
38 perror_msg_and_fail("kill: %d", sig); in main()
39 sig_print(signal2name(sig), pid, uid); in main()