sig.c (387B)
1 /* Public domain. */ 2 3 #include <signal.h> 4 #include "sig.h" 5 6 const int sig_alarm = SIGALRM; 7 const int sig_child = SIGCHLD; 8 const int sig_cont = SIGCONT; 9 const int sig_hangup = SIGHUP; 10 const int sig_int = SIGINT; 11 const int sig_kill = SIGKILL; 12 const int sig_pipe = SIGPIPE; 13 const int sig_term = SIGTERM; 14 15 void (*sig_defaulthandler)(int) = SIG_DFL; 16 void (*sig_ignorehandler)(int) = SIG_IGN;