Searched refs:setsig (Results 1 – 5 of 5) sorted by relevance
/external/mksh/src/ |
D | histrap.c | 1136 setsig(&sigtraps[SIGINT], trapsig, SS_RESTORE_ORIG); in inittraps() 1137 setsig(&sigtraps[SIGQUIT], trapsig, SS_RESTORE_ORIG); in inittraps() 1138 setsig(&sigtraps[SIGTERM], trapsig, SS_RESTORE_ORIG); in inittraps() 1139 setsig(&sigtraps[SIGHUP], trapsig, SS_RESTORE_ORIG); in inittraps() 1148 setsig(&sigtraps[SIGALRM], alarm_catcher, in alarm_init() 1421 setsig(p, (p->flags & TF_EXEC_IGN) ? SIG_IGN : SIG_DFL, in restoresigs() 1459 setsig(p, f, SS_RESTORE_CURR|SS_USER); in settrap() 1473 setsig(p, SIG_IGN, SS_RESTORE_CURR); in block_pipe() 1477 setsig(p, SIG_IGN, SS_RESTORE_CURR); in block_pipe() 1488 setsig(&sigtraps[SIGPIPE], SIG_DFL, SS_RESTORE_CURR); in restore_pipe() [all …]
|
D | jobs.c | 180 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() 353 setsig(&sigtraps[SIGTTIN], SIG_DFL, in j_change() 372 setsig(&sigtraps[tt_sigs[i]], SIG_IGN, in j_change() 399 setsig(&sigtraps[tt_sigs[i]], SIG_IGN, in j_change() 405 setsig(&sigtraps[tt_sigs[i]], in j_change() 570 setsig(&sigtraps[tt_sigs[forksleep]], SIG_DFL, in exchild() 583 setsig(&sigtraps[SIGINT], SIG_IGN, in exchild() 585 setsig(&sigtraps[SIGQUIT], SIG_IGN, in exchild()
|
D | main.c | 592 setsig(&sigtraps[SIGWINCH], x_sigwinch, in main_init() 1089 setsig(&sigtraps[sig], SIG_DFL, in quitenv()
|
D | sh.h | 2541 int setsig(Trap *, sig_t, int);
|
/external/python/cpython3/Lib/test/ |
D | test_signal.py | 1125 def setsig(self, signum, handler): member in StressTest 1142 self.setsig(signal.SIGALRM, handler) 1190 self.setsig(signal.SIGPROF, first_handler) 1191 self.setsig(signal.SIGUSR1, first_handler) 1192 self.setsig(signal.SIGALRM, second_handler) # for ITIMER_REAL 1225 self.setsig(signal.SIGUSR1, handler) 1226 self.setsig(signal.SIGALRM, handler) # for ITIMER_REAL
|