Home
last modified time | relevance | path

Searched refs:setsig (Results 1 – 5 of 5) sorted by relevance

/third_party/mksh/
Dhistrap.c1137 setsig(&sigtraps[SIGINT], trapsig, SS_RESTORE_ORIG); in inittraps()
1138 setsig(&sigtraps[SIGQUIT], trapsig, SS_RESTORE_ORIG); in inittraps()
1139 setsig(&sigtraps[SIGTERM], trapsig, SS_RESTORE_ORIG); in inittraps()
1140 setsig(&sigtraps[SIGHUP], trapsig, SS_RESTORE_ORIG); in inittraps()
1149 setsig(&sigtraps[SIGALRM], alarm_catcher, in alarm_init()
1422 setsig(p, (p->flags & TF_EXEC_IGN) ? SIG_IGN : SIG_DFL, in restoresigs()
1460 setsig(p, f, SS_RESTORE_CURR|SS_USER); in settrap()
1474 setsig(p, SIG_IGN, SS_RESTORE_CURR); in block_pipe()
1478 setsig(p, SIG_IGN, SS_RESTORE_CURR); in block_pipe()
1489 setsig(&sigtraps[SIGPIPE], SIG_DFL, SS_RESTORE_CURR); in restore_pipe()
[all …]
Djobs.c180 setsig(&sigtraps[SIGCHLD], j_sigchld, in j_init()
184 setsig(&sigtraps[SIGCHLD], SIG_DFL, SS_RESTORE_ORIG|SS_FORCE); in j_init()
207 setsig(&sigtraps[tt_sigs[i]], SIG_IGN, in j_init()
357 setsig(&sigtraps[SIGTTIN], SIG_DFL,
376 setsig(&sigtraps[tt_sigs[i]], SIG_IGN,
403 setsig(&sigtraps[tt_sigs[i]], SIG_IGN,
409 setsig(&sigtraps[tt_sigs[i]],
574 setsig(&sigtraps[tt_sigs[forksleep]], SIG_DFL,
587 setsig(&sigtraps[SIGINT], SIG_IGN,
589 setsig(&sigtraps[SIGQUIT], SIG_IGN,
Dmain.c598 setsig(&sigtraps[SIGWINCH], x_sigwinch, in main_init()
1099 setsig(&sigtraps[sig], SIG_DFL, in quitenv()
Dsh.h2539 int setsig(Trap *, sig_t, int);
/third_party/python/Lib/test/
Dtest_signal.py1143 def setsig(self, signum, handler): member in StressTest
1160 self.setsig(signal.SIGALRM, handler)
1208 self.setsig(signal.SIGPROF, first_handler)
1209 self.setsig(signal.SIGUSR1, first_handler)
1210 self.setsig(signal.SIGALRM, second_handler) # for ITIMER_REAL
1243 self.setsig(signal.SIGUSR1, handler)
1244 self.setsig(signal.SIGALRM, handler) # for ITIMER_REAL