Lines Matching refs:sigtable
83 static struct sigtable { struct
86 } sigtable[NSIG + 1]; variable
139 sigtable[sig].s_flag |= SSET; in sigset()
140 sigtable[sig].s_func = func; in sigset()
147 if ((sigtable[sig].s_flag & SHELD) == 0) in sigset()
158 sigtable[sig].s_flag &= ~SDEFER; in sigset()
180 if (sigtable[sig].s_flag & SHELD) in sighold()
187 sigtable[sig].s_flag |= SSET; in sighold()
190 sigtable[sig].s_flag |= SHELD; in sighold()
208 if ((sigtable[sig].s_flag & SHELD) == 0) in sigrelse()
210 sigtable[sig].s_flag &= ~SHELD; in sigrelse()
211 if (sigtable[sig].s_flag & SDEFER) in sigrelse()
217 if (sigtable[sig].s_func == SIG_DFL) in sigrelse()
245 sigtable[sig].s_flag |= SHELD|SPAUSE; in sigpause()
248 sigtable[sig].s_flag &= ~SPAUSE; in sigpause()
249 sigtable[sig].s_flag |= SDEFER; in sigpause()
263 if (sigtable[i].s_flag & SHELD) in sigchild()
286 if ((sigtable[sig].s_flag & SSET) == 0) { in sigdisp()
288 sigtable[sig].s_func = old; in sigdisp()
289 sigtable[sig].s_flag |= SSET; in sigdisp()
298 return(sigtable[sig].s_func); in sigdisp()
320 if (sigtable[sig].s_flag & SPAUSE) in _Sigtramp()
327 if (sigtable[sig].s_flag & SHELD) { in _Sigtramp()
328 sigtable[sig].s_flag |= SDEFER; in _Sigtramp()
337 if (sigtable[sig].s_func == SIG_IGN) in _Sigtramp()
344 if (sigtable[sig].s_func == SIG_DFL) { in _Sigtramp()
359 sigtable[sig].s_flag &= ~SDEFER; in _Sigtramp()
360 sigtable[sig].s_flag |= SHELD; in _Sigtramp()
362 (*sigtable[sig].s_func)(sig); in _Sigtramp()
367 sigtable[sig].s_flag &= ~SHELD; in _Sigtramp()
368 if (sigtable[sig].s_flag & SDEFER) in _Sigtramp()