Home
last modified time | relevance | path

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

12345678

/external/curl/tests/server/
Dutil.c549 static SIGHANDLER_T old_sighup_handler = SIG_ERR;
553 static SIGHANDLER_T old_sigpipe_handler = SIG_ERR;
557 static SIGHANDLER_T old_sigalrm_handler = SIG_ERR;
561 static SIGHANDLER_T old_sigint_handler = SIG_ERR;
565 static SIGHANDLER_T old_sigterm_handler = SIG_ERR;
569 static SIGHANDLER_T old_sigbreak_handler = SIG_ERR;
735 if(old_sighup_handler == SIG_ERR) in install_signal_handlers()
741 if(old_sigpipe_handler == SIG_ERR) in install_signal_handlers()
748 if(old_sigalrm_handler == SIG_ERR) in install_signal_handlers()
757 if(old_sigint_handler == SIG_ERR) in install_signal_handlers()
[all …]
/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/llvm-project/libc/test/src/signal/
Dsignal_test.cpp25 Fails(EINVAL, (void *)SIG_ERR)); in TEST()
27 Fails(EINVAL, (void *)SIG_ERR)); in TEST()
35 SIG_ERR); in TEST()
/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()
/external/llvm-project/lldb/test/API/functionalities/signal/raise/
Dmain.c13 if (signal(SIGTRAP, handler) == SIG_ERR) in main()
20 if (signal(SIGRTMIN, handler) == 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/llvm-project/libcxx/test/std/depr/depr.c.headers/
Dsignal_h.pass.cpp20 #ifndef SIG_ERR
21 #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/llvm-project/libcxx/test/std/language.support/support.runtime/
Dcsignal.pass.cpp20 #ifndef SIG_ERR
21 #error SIG_ERR not defined
/external/tcpdump/lbl/
Dos-sunos4.h197 #ifdef SIG_ERR
198 #undef SIG_ERR
199 #define SIG_ERR (void (*)(int))-1 macro
/external/libpcap/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.c214 if (tst_setup_signal(sig, handler) == SIG_ERR) in tst_sig()
254 return SIG_ERR; in tst_setup_signal()
/external/llvm-project/lldb/test/API/tools/lldb-server/
Dmain.cpp145 if (sig_result == SIG_ERR) { in signal_handler()
254 if (sig_result == SIG_ERR) { in main()
260 if (sig_result == SIG_ERR) { in main()
266 if (sig_result == SIG_ERR) { in main()
/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()
Dwritev02.c114 if (signal(SIGTERM, sighandler) == SIG_ERR) in main()
118 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()
/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()
/external/llvm-project/lldb/test/API/functionalities/signal/handle-abrt/
Dmain.c17 if (signal(SIGABRT, handler) == SIG_ERR) in main()

12345678