Lines Matching refs:sig
50 ssignal(int sig, int (*action)(int)))(int)
54 if (sig >= MINSIG && sig <= MAXSIGNUM) {
55 savefn = sigs[sig-MINSIG];
56 sigs[sig-MINSIG] = action;
64 gsignal(int sig)
68 if (sig < MINSIG || sig > MAXSIGNUM ||
69 (sigfn = sigs[sig-MINSIG]) == (int(*)(int))SIG_DFL)
74 sigs[sig-MINSIG] = (int(*)(int))SIG_DFL;
75 return ((*sigfn)(sig));