Lines Matching full:signal
18 * SIG_HDLR (*Signal(int sig, SIG_HDLR (*disp)(int)))(int);
23 * available, otherwise it just uses signal(2). If it
27 * In any case it provides a Signal() function that is
29 * If not using signal(2) as part of the underlying
31 * NO_SIGNAL is not defined, it also provides a signal()
32 * function that calls Signal().
35 * caused by mixing various signal handling mechanisms in
41 * action to be associated with a given signal. "act" and
55 * systems, signal handlers do not return 'void', so
57 * hosts normal signal handling conventions.
59 * the selected signal handler is active. It is not used
85 * signal mask for the calling process. Either "set" or
91 * sigsuspend() sets the signal mask to "*mask" and waits
92 * for a signal to be delivered after which the previous
129 #include <signal.h>
153 * Or they may have installed sigact.h as signal.h which is why
183 * in case signal() has been mapped to our Signal().
185 #undef signal
199 oldh = signal(sig, act->sa_handler); in sigaction()
206 oldh = signal(sig, SIG_IGN); in sigaction()
212 (void) signal(sig, oldh); in sigaction()
346 #else /* signal(2) only */ in sigsuspend()
355 if ((oldh = signal(i, SIG_DFL)) != SIG_ERR && in sigsuspend()
358 (void) signal(i, oldh); /* restore handler */ in sigsuspend()
361 pause(); /* wait for a signal */ in sigsuspend()
379 * ensure we avoid signal mayhem
382 extern void (*Signal (int sig, void (*handler) (int)))(int);
384 SIG_HDLR(*signal(int sig, SIG_HDLR(*handler)(int))
386 return (Signal(sig, handler));