Lines Matching refs:SIG_ERR
158 static SIGHANDLER_T old_sighup_handler = SIG_ERR;
162 static SIGHANDLER_T old_sigpipe_handler = SIG_ERR;
166 static SIGHANDLER_T old_sigalrm_handler = SIG_ERR;
170 static SIGHANDLER_T old_sigint_handler = SIG_ERR;
174 static SIGHANDLER_T old_sigterm_handler = SIG_ERR;
178 static SIGHANDLER_T old_sigbreak_handler = SIG_ERR;
209 if((old_sighup_handler = signal(SIGHUP, SIG_IGN)) == SIG_ERR) in install_signal_handlers()
214 if((old_sigpipe_handler = signal(SIGPIPE, SIG_IGN)) == SIG_ERR) in install_signal_handlers()
219 if((old_sigalrm_handler = signal(SIGALRM, SIG_IGN)) == SIG_ERR) in install_signal_handlers()
224 if((old_sigint_handler = signal(SIGINT, exit_signal_handler)) == SIG_ERR) in install_signal_handlers()
231 if((old_sigterm_handler = signal(SIGTERM, exit_signal_handler)) == SIG_ERR) in install_signal_handlers()
238 if((old_sigbreak_handler = signal(SIGBREAK, exit_signal_handler)) == SIG_ERR) in install_signal_handlers()
248 if(SIG_ERR != old_sighup_handler) in restore_signal_handlers()
252 if(SIG_ERR != old_sigpipe_handler) in restore_signal_handlers()
256 if(SIG_ERR != old_sigalrm_handler) in restore_signal_handlers()
260 if(SIG_ERR != old_sigint_handler) in restore_signal_handlers()
264 if(SIG_ERR != old_sigterm_handler) in restore_signal_handlers()
268 if(SIG_ERR != old_sigbreak_handler) in restore_signal_handlers()