Lines Matching refs:sig
41 sm_signal(sig, handler)
42 int sig;
63 if (sigaction(sig, &n, &o) < 0)
75 return signal(sig, handler);
77 return sigset(sig, handler);
88 if (sigaction(sig, &n, &o) < 0)
98 ** sig -- the signal to block.
107 sm_blocksignal(sig)
108 int sig;
114 return (sigblock(sigmask(sig)) & sigmask(sig)) != 0;
119 handler = sigset(sig, SIG_HOLD);
128 (void) sigaddset(&sset, sig);
132 return sigismember(&oset, sig);
140 ** sig -- the signal to release.
149 sm_releasesignal(sig)
150 int sig;
153 return (sigsetmask(sigblock(0) & ~sigmask(sig)) & sigmask(sig)) != 0;
158 handler = sigset(sig, SIG_HOLD);
159 if (sigrelse(sig) < 0)
167 (void) sigaddset(&sset, sig);
171 return sigismember(&oset, sig);
179 ** sig -- signal to add
190 pend_signal(sig)
191 int sig;
207 switch (sig)
325 ** sig -- signal received
333 sm_signal_noop(sig)
334 int sig;
338 FIX_SYSV_SIGNAL(sig, sm_signal_noop);