1 /* 2 * reimplementation of Daniel Bernstein's unix library. 3 * placed in the public domain by Uwe Ohse, uwe@ohse.de. 4 */ 5 #include <signal.h> 6 #include "sig.h" 7 8 int sig_alarm = SIGALRM; 9 int sig_child = SIGCHLD; 10 int sig_cont = SIGCONT; 11 int sig_hangup = SIGHUP; 12 int sig_pipe = SIGPIPE; 13 int sig_term = SIGTERM; 14 int sig_int = SIGINT; 15 #ifdef SIGWINCH 16 int sig_winch = SIGWINCH; 17 #else 18 int sig_winch = 0; 19 #endif 20 21 void (*sig_defaulthandler)(int) = SIG_DFL; 22 void (*sig_ignorehandler)(int) = SIG_IGN; 23