Lines Matching refs:Signals
96 } Signals[] = variable
149 const int NoSignals = sizeof(Signals) / sizeof(struct SignalAction);
256 if ((bSetSEGVHandler || Signals[i].Signal != SIGSEGV) in InitSignal()
257 && (bSetWINCHHandler || Signals[i].Signal != SIGWINCH) in InitSignal()
258 && (bSetILLHandler || Signals[i].Signal != SIGILL)) in InitSignal()
260 if (Signals[i].Action != ACT_SYSTEM) in InitSignal()
262 if (Signals[i].Action == ACT_HIDE) in InitSignal()
270 if (sigaction(Signals[i].Signal, &ign, &oact) == 0) in InitSignal()
271 Signals[i].Handler = oact.sa_handler; in InitSignal()
273 Signals[i].Handler = SIG_DFL; in InitSignal()
276 if (sigaction(Signals[i].Signal, &act, &oact) == 0) in InitSignal()
277 Signals[i].Handler = oact.sa_handler; in InitSignal()
279 Signals[i].Handler = SIG_DFL; in InitSignal()
307 if (Signals[i].Action != ACT_SYSTEM) in DeInitSignal()
309 act.sa_handler = Signals[i].Handler; in DeInitSignal()
311 sigaction(Signals[i].Signal, &act, NULL); in DeInitSignal()
556 if (Signals[i].Signal == Signal && Signals[i].Action == ACT_ABORT ) in ReportCrash()
859 if (Signals[i].Signal == Signal) in CallSystemHandler()
865 if ((Signals[i].Handler == NULL) || in CallSystemHandler()
866 (Signals[i].Handler == SIG_DFL) || in CallSystemHandler()
867 (Signals[i].Handler == SIG_IGN) || in CallSystemHandler()
868 (Signals[i].Handler == SIG_ERR)) in CallSystemHandler()
870 switch (Signals[i].Action) in CallSystemHandler()
895 (*Signals[i].Handler)(Signal); in CallSystemHandler()