Home
last modified time | relevance | path

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

12

/external/bison/lib/
Dsigaction.c139 || (act && act->sa_handler == SIG_ERR)) in sigaction()
171 if (oact->sa_handler == SIG_ERR) in sigaction()
185 if (signal (sig, act->sa_handler) == SIG_ERR) in sigaction()
191 if (signal (sig, sigaction_handler) == SIG_ERR) in sigaction()
Dsigprocmask.c77 result = SIG_ERR; in signal_nothrow()
259 if ((old_handlers[sig] = signal (sig, blocked_handler)) != SIG_ERR) in sigprocmask()
300 && handler != SIG_ERR) in rpl_signal()
328 return SIG_ERR; in rpl_signal()
/external/curl/tests/server/
Drtspd.c212 static SIGHANDLER_T old_sighup_handler = SIG_ERR;
216 static SIGHANDLER_T old_sigpipe_handler = SIG_ERR;
220 static SIGHANDLER_T old_sigalrm_handler = SIG_ERR;
224 static SIGHANDLER_T old_sigint_handler = SIG_ERR;
228 static SIGHANDLER_T old_sigterm_handler = SIG_ERR;
232 static SIGHANDLER_T old_sigbreak_handler = SIG_ERR;
263 if((old_sighup_handler = signal(SIGHUP, SIG_IGN)) == SIG_ERR) in install_signal_handlers()
268 if((old_sigpipe_handler = signal(SIGPIPE, SIG_IGN)) == SIG_ERR) in install_signal_handlers()
273 if((old_sigalrm_handler = signal(SIGALRM, SIG_IGN)) == SIG_ERR) in install_signal_handlers()
278 if((old_sigint_handler = signal(SIGINT, exit_signal_handler)) == SIG_ERR) in install_signal_handlers()
[all …]
Dsockfilt.c158 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()
[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;
370 if((old_sighup_handler = signal(SIGHUP, SIG_IGN)) == SIG_ERR) in install_signal_handlers()
375 if((old_sigpipe_handler = signal(SIGPIPE, SIG_IGN)) == SIG_ERR) in install_signal_handlers()
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()
[all …]
Dsws.c217 static SIGHANDLER_T old_sighup_handler = SIG_ERR;
221 static SIGHANDLER_T old_sigpipe_handler = SIG_ERR;
225 static SIGHANDLER_T old_sigalrm_handler = SIG_ERR;
229 static SIGHANDLER_T old_sigint_handler = SIG_ERR;
233 static SIGHANDLER_T old_sigterm_handler = SIG_ERR;
237 static SIGHANDLER_T old_sigbreak_handler = SIG_ERR;
268 if((old_sighup_handler = signal(SIGHUP, SIG_IGN)) == SIG_ERR) in install_signal_handlers()
273 if((old_sigpipe_handler = signal(SIGPIPE, SIG_IGN)) == SIG_ERR) in install_signal_handlers()
278 if((old_sigalrm_handler = signal(SIGALRM, SIG_IGN)) == SIG_ERR) in install_signal_handlers()
283 if((old_sigint_handler = signal(SIGINT, exit_signal_handler)) == SIG_ERR) in install_signal_handlers()
[all …]
/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/libedit/src/
Dsig.c102 sel->el_signal->sig_action[i].sa_handler = SIG_ERR; in sig_handler()
131 el->el_signal->sig_action[i].sa_handler = SIG_ERR; in sig_init()
193 if (el->el_signal->sig_action[i].sa_handler != SIG_ERR) in sig_clr()
/external/tcpdump/lbl/
Dos-sunos4.h199 #ifdef SIG_ERR
200 #undef SIG_ERR
201 #define SIG_ERR (void (*)(int))-1 macro
/external/libpcap/lbl/
Dos-sunos4.h199 #ifdef SIG_ERR
200 #undef SIG_ERR
201 #define SIG_ERR (void (*)(int))-1 macro
/external/strace/
Dsignal.c322 if ((long)sa.__sa_handler == (long)SIG_ERR) in decode_old_sigaction()
363 case (long) SIG_ERR: in SYS_FUNC()
379 case (long) SIG_ERR: in SYS_FUNC()
561 if ((long)sa.__sa_handler == (long)SIG_ERR) in decode_new_sigaction()
/external/kernel-headers/original/uapi/asm-generic/
Dsignal-defs.h25 #define SIG_ERR ((__force __sighandler_t)-1) /* error return from signal */ macro
/external/tcpdump/
Dsetsignal.c79 return (SIG_ERR); in setsignal()
/external/libmicrohttpd/src/examples/
Dmhd2spdy.c83 if (signal(SIGPIPE, SIG_IGN) == SIG_ERR) in run_everything()
86 if (signal(SIGINT, catch_signal) == SIG_ERR) in run_everything()
Dspdy_event_loop.c305 if (signal(SIGPIPE, sig_handler) == SIG_ERR) in main()
/external/compiler-rt/test/tsan/
Dsigsuspend.cc23 assert(SIG_ERR != signal(kSignalToTest, do_nothing_signal_handler)); in main()
/external/libcxx/include/
Dcsignal20 SIG_ERR
/external/libdaemon/libdaemon/
Ddfork.c272 if (signal(SIGTTOU, SIG_IGN) == SIG_ERR) { in daemon_fork()
277 if (signal(SIGTTIN, SIG_IGN) == SIG_ERR) { in daemon_fork()
282 if (signal(SIGTSTP, SIG_IGN) == SIG_ERR) { in daemon_fork()
/external/strace/tests/
Dnet-accept-connect.c90 assert(signal(SIGUSR1, handler) != SIG_ERR); in main()
/external/avahi/avahi-core/
Ddns-spin-test.c100 if (signal(SIGVTALRM, handle) == SIG_ERR) in main()
/external/libevent/
Dsignal.c263 if ((sh = signal(evsignal, handler)) == SIG_ERR) { in _evsig_set_handler()
341 if (signal(evsignal, *sh) == SIG_ERR) { in _evsig_restore_handler()
/external/selinux/policycoreutils/semodule/
Dsemodule.c113 if (signal(SIGINT, handle_signal) == SIG_ERR || in create_signal_handlers()
114 signal(SIGQUIT, handle_signal) == SIG_ERR || in create_signal_handlers()
115 signal(SIGTERM, handle_signal) == SIG_ERR) { in create_signal_handlers()
/external/libchrome/sandbox/linux/services/
Dscoped_process_unittest.cc57 PCHECK(SIG_ERR != signal(SIGABRT, SIG_DFL)); in TEST()
/external/ImageMagick/MagickCore/
Dmagick.c101 #if !defined(SIG_ERR)
102 # define SIG_ERR ((SignalHandler *) -1) macro
1294 return(SIG_ERR); in SetMagickSignalHandler()
1361 if (handler == SIG_ERR) in RegisterMagickSignalHandler()

12