Home
last modified time | relevance | path

Searched refs:SIG_ERR (Results 1 – 25 of 159) sorted by relevance

1234567

/external/ltp/testcases/kernel/syscalls/kill/
Dkill02.c299 if (signal(SIGALRM, notify_timeout) == SIG_ERR) { in parent_rout()
446 if (signal(SIGUSR1, usr1_rout) == SIG_ERR) { in child1_rout()
512 if (signal(SIGUSR2, chld1_kill) == SIG_ERR) { in child1_rout()
523 if (signal(SIGALRM, notify_timeout) == SIG_ERR) { in child1_rout()
594 if (signal(SIGUSR1, usr1_rout) == SIG_ERR) { in child2_rout()
635 if (signal(SIGUSR1, usr1_rout) == SIG_ERR) { in childA_rout_uclinux()
677 if (signal(SIGUSR1, usr1_rout) == SIG_ERR) { in childB_rout_uclinux()
711 if (signal(SIGUSR1, SIG_IGN) == SIG_ERR) { in setup()
716 if (signal(SIGCHLD, SIG_IGN) == SIG_ERR) { in setup()
/external/curl/tests/server/
Drtspd.c215 static SIGHANDLER_T old_sighup_handler = SIG_ERR;
219 static SIGHANDLER_T old_sigpipe_handler = SIG_ERR;
223 static SIGHANDLER_T old_sigalrm_handler = SIG_ERR;
227 static SIGHANDLER_T old_sigint_handler = SIG_ERR;
231 static SIGHANDLER_T old_sigterm_handler = SIG_ERR;
235 static SIGHANDLER_T old_sigbreak_handler = SIG_ERR;
267 if(old_sighup_handler == SIG_ERR) in install_signal_handlers()
273 if(old_sigpipe_handler == SIG_ERR) in install_signal_handlers()
279 if(old_sigalrm_handler == SIG_ERR) in install_signal_handlers()
285 if(old_sigint_handler == SIG_ERR) in install_signal_handlers()
[all …]
Dsockfilt.c161 static SIGHANDLER_T old_sighup_handler = SIG_ERR;
165 static SIGHANDLER_T old_sigpipe_handler = SIG_ERR;
169 static SIGHANDLER_T old_sigalrm_handler = SIG_ERR;
173 static SIGHANDLER_T old_sigint_handler = SIG_ERR;
177 static SIGHANDLER_T old_sigterm_handler = SIG_ERR;
181 static SIGHANDLER_T old_sigbreak_handler = SIG_ERR;
213 if(old_sighup_handler == SIG_ERR) in install_signal_handlers()
219 if(old_sigpipe_handler == SIG_ERR) in install_signal_handlers()
225 if(old_sigalrm_handler == SIG_ERR) in install_signal_handlers()
231 if(old_sigint_handler == SIG_ERR) in install_signal_handlers()
[all …]
Dtftpd.c234 static SIGHANDLER_T old_sighup_handler = SIG_ERR;
238 static SIGHANDLER_T old_sigpipe_handler = SIG_ERR;
242 static SIGHANDLER_T old_sigint_handler = SIG_ERR;
246 static SIGHANDLER_T old_sigterm_handler = SIG_ERR;
250 static SIGHANDLER_T old_sigbreak_handler = SIG_ERR;
371 if(old_sighup_handler == SIG_ERR) in install_signal_handlers()
377 if(old_sigpipe_handler == SIG_ERR) in install_signal_handlers()
383 if(old_sigint_handler == SIG_ERR) in install_signal_handlers()
391 if(old_sigterm_handler == SIG_ERR) in install_signal_handlers()
399 if(old_sigbreak_handler == SIG_ERR) in install_signal_handlers()
[all …]
Dsws.c225 static SIGHANDLER_T old_sighup_handler = SIG_ERR;
229 static SIGHANDLER_T old_sigpipe_handler = SIG_ERR;
233 static SIGHANDLER_T old_sigalrm_handler = SIG_ERR;
237 static SIGHANDLER_T old_sigint_handler = SIG_ERR;
241 static SIGHANDLER_T old_sigterm_handler = SIG_ERR;
245 static SIGHANDLER_T old_sigbreak_handler = SIG_ERR;
280 if(old_sighup_handler == SIG_ERR) in install_signal_handlers()
286 if(old_sigpipe_handler == SIG_ERR) in install_signal_handlers()
292 if(old_sigalrm_handler == SIG_ERR) in install_signal_handlers()
298 if(old_sigint_handler == SIG_ERR) in install_signal_handlers()
[all …]
/external/ltp/testcases/kernel/syscalls/signal/
Dsignal04.c111 if ((rval = signal(siglist[i], &sighandler)) == SIG_ERR) { in main()
124 if (Tret == SIG_ERR) { in main()
132 == SIG_ERR) { in main()
Dsignal01.c171 if (ret == SIG_ERR || errno == EINVAL) { in do_child()
175 if (ret != SIG_ERR) { in do_child()
/external/strace/xlat/
Dsa_handler_values.h17 #if defined(SIG_ERR) || (defined(HAVE_DECL_SIG_ERR) && HAVE_DECL_SIG_ERR)
18 XLAT_TYPE(unsigned long, SIG_ERR),
Dsa_handler_values.in2 SIG_ERR
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/signal/
D5-1.c37 if (signal(SIGUSR1, SIGUSR1_handler) == SIG_ERR) { in main()
42 if (signal(SIGUSR2, SIGUSR2_handler) == SIG_ERR) { in main()
D6-1.c29 if (signal(-1, myhandler) != SIG_ERR) { in main()
/external/libcxx/test/std/depr/depr.c.headers/
Dsignal_h.pass.cpp19 #ifndef SIG_ERR
20 #error SIG_ERR not defined
/external/libcxx/test/std/language.support/support.runtime/
Dcsignal.pass.cpp19 #ifndef SIG_ERR
20 #error SIG_ERR not defined
/external/libpcap/lbl/
Dos-sunos4.h197 #ifdef SIG_ERR
198 #undef SIG_ERR
199 #define SIG_ERR (void (*)(int))-1 macro
/external/tcpdump/lbl/
Dos-sunos4.h197 #ifdef SIG_ERR
198 #undef SIG_ERR
199 #define SIG_ERR (void (*)(int))-1 macro
/external/ltp/testcases/kernel/syscalls/mkdir/
Dmkdir09.c115 if (signal(SIGTERM, term) == SIG_ERR) { in main()
121 if (signal(SIGCHLD, chld) == SIG_ERR) { in main()
194 if (signal(SIGTERM, SIG_IGN) == SIG_ERR) { in runtest()
198 if (signal(SIGCHLD, SIG_DFL) == SIG_ERR) { in runtest()
/external/ltp/lib/
Dtst_sig.c213 if (tst_setup_signal(sig, handler) == SIG_ERR) in tst_sig()
253 return SIG_ERR; in tst_setup_signal()
/external/ltp/testcases/kernel/mem/page/
Dpage02.c83 if (signal(SIGUSR1, (void (*)())chld) == SIG_ERR) {
232 if (signal(SIGUSR1, (void (*)())chld) == SIG_ERR) { in chld()
/external/ltp/testcases/kernel/syscalls/writev/
Dwritev06.c94 if (signal(SIGTERM, sighandler) == SIG_ERR) { in main()
101 if (signal(SIGPIPE, sighandler) == SIG_ERR) { in main()
Dwritev05.c110 if (signal(SIGTERM, sighandler) == SIG_ERR) { in main()
116 if (signal(SIGPIPE, sighandler) == SIG_ERR) { in main()
Dwritev02.c114 if (signal(SIGTERM, sighandler) == SIG_ERR) in main()
118 if (signal(SIGPIPE, sighandler) == SIG_ERR) in main()
/external/ltp/testcases/kernel/mem/vmtests/
Ddata_space.c137 if (sigset(SIGTERM, (void (*)())term) == SIG_ERR) {
140 if (sigset(SIGUSR1, (void (*)())chld) == SIG_ERR) {
466 if (sigset(SIGUSR1, (void (*)())chld) == SIG_ERR) { in chld()
/external/ltp/testcases/kernel/syscalls/fcntl/
Dfcntl15.c366 if ((signal(SIGUSR1, child_sig)) == SIG_ERR) { in run_test()
371 if ((signal(SIGUSR2, parent_sig)) == SIG_ERR) { in run_test()
543 if ((signal(SIGALRM, alarm_sig)) == SIG_ERR) { in main()
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/signal_h/
D2-2-buildonly.c7 void (*dummy) (int) = SIG_ERR;
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigset/
D10-1.c22 if (sigset(SIGKILL, SIG_IGN) == SIG_ERR) { in main()

1234567