Home
last modified time | relevance | path

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

/external/mksh/src/
Dhistrap.c1131 setsig(&sigtraps[SIGINT], trapsig, SS_RESTORE_ORIG); in inittraps()
1132 setsig(&sigtraps[SIGQUIT], trapsig, SS_RESTORE_ORIG); in inittraps()
1133 setsig(&sigtraps[SIGTERM], trapsig, SS_RESTORE_ORIG); in inittraps()
1134 setsig(&sigtraps[SIGHUP], trapsig, SS_RESTORE_ORIG); in inittraps()
1143 setsig(&sigtraps[SIGALRM], alarm_catcher, in alarm_init()
1416 setsig(p, (p->flags & TF_EXEC_IGN) ? SIG_IGN : SIG_DFL, in restoresigs()
1454 setsig(p, f, SS_RESTORE_CURR|SS_USER); in settrap()
1468 setsig(p, SIG_IGN, SS_RESTORE_CURR); in block_pipe()
1472 setsig(p, SIG_IGN, SS_RESTORE_CURR); in block_pipe()
1483 setsig(&sigtraps[SIGPIPE], SIG_DFL, SS_RESTORE_CURR); in restore_pipe()
[all …]
Djobs.c185 setsig(&sigtraps[SIGCHLD], j_sigchld, in j_init()
189 setsig(&sigtraps[SIGCHLD], SIG_DFL, SS_RESTORE_ORIG|SS_FORCE); in j_init()
212 setsig(&sigtraps[tt_sigs[i]], SIG_IGN, in j_init()
358 setsig(&sigtraps[SIGTTIN], SIG_DFL, in j_change()
377 setsig(&sigtraps[tt_sigs[i]], SIG_IGN, in j_change()
404 setsig(&sigtraps[tt_sigs[i]], SIG_IGN, in j_change()
410 setsig(&sigtraps[tt_sigs[i]], in j_change()
575 setsig(&sigtraps[tt_sigs[forksleep]], SIG_DFL, in exchild()
588 setsig(&sigtraps[SIGINT], SIG_IGN, in exchild()
590 setsig(&sigtraps[SIGQUIT], SIG_IGN, in exchild()
Dmain.c576 setsig(&sigtraps[SIGWINCH], x_sigwinch, in main_init()
1051 setsig(&sigtraps[sig], SIG_DFL, in quitenv()
Dsh.h2453 int setsig(Trap *, sig_t, int);