Lines Matching defs:sig
31 #include <sig.h>
35 int sig;
77 interrupt(int sig)
79 signal(sig, interrupt);
80 hold |= sigmask(sig);
123 sigaddset(&nmask, signals[i].sig);
130 mask |= sigmask(signals[i].sig);
135 if ((op & signals[i].op) && (handler[i] = signal(signals[i].sig, interrupt)) == SIG_IGN)
137 signal(signals[i].sig, handler[i]);
138 hold &= ~sigmask(signals[i].sig);
152 if (sigismember(&nmask, signals[i].sig))
183 signal(signals[i].sig, handler[i]);
189 if (hold & sigmask(signals[i].sig))
190 kill(getpid(), signals[i].sig);