Home
last modified time | relevance | path

Searched refs:exit_signal_handler (Results 1 – 6 of 6) sorted by relevance

/external/curl/tests/
Dsecureserver.pl82 sub exit_signal_handler { subroutine
270 $SIG{INT} = \&exit_signal_handler;
271 $SIG{TERM} = \&exit_signal_handler;
Dftpserver.pl186 sub exit_signal_handler { subroutine
2971 $SIG{INT} = \&exit_signal_handler;
2972 $SIG{TERM} = \&exit_signal_handler;
/external/curl/tests/server/
Dtftpd.c297 static RETSIGTYPE exit_signal_handler(int signum);
355 static RETSIGTYPE exit_signal_handler(int signum) in exit_signal_handler() function
362 (void)signal(signum, exit_signal_handler); in exit_signal_handler()
380 if((old_sigint_handler = signal(SIGINT, exit_signal_handler)) == SIG_ERR) in install_signal_handlers()
387 if((old_sigterm_handler = signal(SIGTERM, exit_signal_handler)) == SIG_ERR) in install_signal_handlers()
394 if((old_sigbreak_handler = signal(SIGBREAK, exit_signal_handler)) == SIG_ERR) in install_signal_handlers()
Drtspd.c248 static RETSIGTYPE exit_signal_handler(int signum) in exit_signal_handler() function
255 (void)signal(signum, exit_signal_handler); in exit_signal_handler()
278 if((old_sigint_handler = signal(SIGINT, exit_signal_handler)) == SIG_ERR) in install_signal_handlers()
285 if((old_sigterm_handler = signal(SIGTERM, exit_signal_handler)) == SIG_ERR) in install_signal_handlers()
292 if((old_sigbreak_handler = signal(SIGBREAK, exit_signal_handler)) == SIG_ERR) in install_signal_handlers()
Dsockfilt.c194 static RETSIGTYPE exit_signal_handler(int signum) in exit_signal_handler() function
201 (void)signal(signum, exit_signal_handler); in exit_signal_handler()
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()
Dsws.c253 static RETSIGTYPE exit_signal_handler(int signum) in exit_signal_handler() function
260 (void)signal(signum, exit_signal_handler); in exit_signal_handler()
283 if((old_sigint_handler = signal(SIGINT, exit_signal_handler)) == SIG_ERR) in install_signal_handlers()
290 if((old_sigterm_handler = signal(SIGTERM, exit_signal_handler)) == SIG_ERR) in install_signal_handlers()
297 if((old_sigbreak_handler = signal(SIGBREAK, exit_signal_handler)) == SIG_ERR) in install_signal_handlers()