Home
last modified time | relevance | path

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

/external/mksh/src/
Dhistrap.c1082 setsig(&sigtraps[SIGINT], trapsig, SS_RESTORE_ORIG); in inittraps()
1083 setsig(&sigtraps[SIGQUIT], trapsig, SS_RESTORE_ORIG); in inittraps()
1084 setsig(&sigtraps[SIGTERM], trapsig, SS_RESTORE_ORIG); in inittraps()
1085 setsig(&sigtraps[SIGHUP], trapsig, SS_RESTORE_ORIG); in inittraps()
1094 setsig(&sigtraps[SIGALRM], alarm_catcher, in alarm_init()
1367 setsig(p, (p->flags & TF_EXEC_IGN) ? SIG_IGN : SIG_DFL, in restoresigs()
1405 setsig(p, f, SS_RESTORE_CURR|SS_USER); in settrap()
1419 setsig(p, SIG_IGN, SS_RESTORE_CURR); in block_pipe()
1423 setsig(p, SIG_IGN, SS_RESTORE_CURR); in block_pipe()
1435 setsig(&sigtraps[SIGPIPE], SIG_DFL, SS_RESTORE_CURR); in restore_pipe()
[all …]
Djobs.c172 setsig(&sigtraps[SIGCHLD], j_sigchld, in j_init()
176 setsig(&sigtraps[SIGCHLD], SIG_DFL, SS_RESTORE_ORIG|SS_FORCE); in j_init()
199 setsig(&sigtraps[tt_sigs[i]], SIG_IGN, in j_init()
345 setsig(&sigtraps[SIGTTIN], SIG_DFL, in j_change()
364 setsig(&sigtraps[tt_sigs[i]], SIG_IGN, in j_change()
391 setsig(&sigtraps[tt_sigs[i]], SIG_IGN, in j_change()
397 setsig(&sigtraps[tt_sigs[i]], in j_change()
563 setsig(&sigtraps[tt_sigs[forksleep]], SIG_DFL, in exchild()
576 setsig(&sigtraps[SIGINT], SIG_IGN, in exchild()
578 setsig(&sigtraps[SIGQUIT], SIG_IGN, in exchild()
Dmain.c523 setsig(&sigtraps[SIGWINCH], x_sigwinch, in main_init()
991 setsig(&sigtraps[sig], SIG_DFL, in quitenv()
Dsh.h1829 int setsig(Trap *, sig_t, int);