Home
last modified time | relevance | path

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

/minix/external/bsd/nvi/dist/cl/
H A Dcl_main.c49 static int setsig __P((int, struct sigaction *, void (*)(int)));
316 setsig(SIGHUP, &clp->oact[INDX_HUP], h_hup) || in sig_init()
318 setsig(SIGINT, &clp->oact[INDX_INT], h_int) || in sig_init()
320 setsig(SIGTERM, &clp->oact[INDX_TERM], h_term) in sig_init()
324 setsig(SIGWINCH, &clp->oact[INDX_WINCH], h_winch) in sig_init()
331 if (setsig(SIGHUP, NULL, h_hup) || in sig_init()
332 setsig(SIGINT, NULL, h_int) || in sig_init()
333 setsig(SIGTERM, NULL, h_term) in sig_init()
336 setsig(SIGWINCH, NULL, h_winch) in sig_init()
349 setsig(int signo, struct sigaction *oactp, void (*handler) (int)) in setsig() function
/minix/bin/ksh/
H A Dtrap.c58 setsig(&sigtraps[SIGINT], trapsig, SS_RESTORE_ORIG); in inittraps()
59 setsig(&sigtraps[SIGQUIT], trapsig, SS_RESTORE_ORIG); in inittraps()
60 setsig(&sigtraps[SIGTERM], trapsig, SS_RESTORE_ORIG); in inittraps()
61 setsig(&sigtraps[SIGHUP], trapsig, SS_RESTORE_ORIG); in inittraps()
71 setsig(&sigtraps[SIGALRM], alarm_catcher, in alarm_init()
306 setsig(p, (p->flags & TF_EXEC_IGN) ? SIG_IGN : SIG_DFL, in restoresigs()
345 setsig(p, f, SS_RESTORE_CURR|SS_USER);
358 setsig(p, SIG_IGN, SS_RESTORE_CURR); in block_pipe()
362 setsig(p, SIG_IGN, SS_RESTORE_CURR); in block_pipe()
374 setsig(&sigtraps[SIGPIPE], SIG_DFL, SS_RESTORE_CURR);
[all …]
H A Djobs.c246 setsig(&sigtraps[SIGCHLD], j_sigchld,
250 setsig(&sigtraps[SIGCHLD], SIG_DFL, SS_RESTORE_ORIG|SS_FORCE);
272 setsig(&sigtraps[tt_sigs[i]], SIG_IGN,
364 setsig(&sigtraps[SIGTTIN], SIG_DFL, in j_change()
383 setsig(&sigtraps[tt_sigs[i]], SIG_IGN, in j_change()
422 setsig(&sigtraps[tt_sigs[i]], SIG_IGN, in j_change()
428 setsig(&sigtraps[tt_sigs[i]], in j_change()
623 setsig(&sigtraps[tt_sigs[i]], SIG_DFL,
632 setsig(&sigtraps[SIGINT], SIG_IGN,
634 setsig(&sigtraps[SIGQUIT], SIG_IGN,
H A Dproto.h241 int setsig ARGS((Trap *, handler_t, int));
H A Dmain.c743 setsig(&sigtraps[sig], SIG_DFL, in quitenv()
H A Dedit.c59 if (setsig(&sigtraps[SIGWINCH], x_sigwinch, SS_RESTORE_ORIG|SS_SHTRAP)) in x_init()