Searched refs:sigtraps (Results 1 – 6 of 6) sorted by relevance
/external/mksh/src/ |
D | histrap.c | 32 Trap sigtraps[ksh_NSIG + 1]; variable 1023 sigtraps[i].signal = i; in inittraps() 1034 sigtraps[i].name = shf_smprintf("%d", i); in inittraps() 1047 sigtraps[i].name = s; in inittraps() 1052 sigtraps[i].mess = sys_siglist[i]; in inittraps() 1054 sigtraps[i].mess = strsignal(i); in inittraps() 1056 sigtraps[i].mess = NULL; in inittraps() 1058 if ((sigtraps[i].mess == NULL) || in inittraps() 1059 (sigtraps[i].mess[0] == '\0')) in inittraps() 1060 sigtraps[i].mess = shf_smprintf("%s %d", in inittraps() [all …]
|
D | jobs.c | 172 setsig(&sigtraps[SIGCHLD], j_sigchld, in j_init() 176 setsig(&sigtraps[SIGCHLD], SIG_DFL, SS_RESTORE_ORIG|SS_FORCE); in j_init() 197 sigtraps[tt_sigs[i]].flags |= TF_SHELL_USES; 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() 395 if (sigtraps[tt_sigs[i]].flags & in j_change() 397 setsig(&sigtraps[tt_sigs[i]], in j_change() 398 (sigtraps[tt_sigs[i]].flags & TF_ORIG_IGN) ? in j_change() [all …]
|
D | main.c | 522 sigtraps[SIGWINCH].flags |= TF_SHELL_USES; in main_init() 523 setsig(&sigtraps[SIGWINCH], x_sigwinch, in main_init() 880 sigtraps[ksh_SIGEXIT].trap && in unwind() 883 runtrap(&sigtraps[ksh_SIGEXIT], trap_nested == 1); in unwind() 888 runtrap(&sigtraps[ksh_SIGERR], trap_nested == 1); in unwind() 991 setsig(&sigtraps[sig], SIG_DFL, in quitenv()
|
D | funcs.c | 1337 ki->name_width, sigtraps[i].name, in kill_fmt_entry() 1338 sigtraps[i].mess); in kill_fmt_entry() 1398 shprintf("%s\n", sigtraps[n].name); in c_kill() 1405 shf_puts(sigtraps[n].name, shl_stdout); in c_kill() 1419 w = strlen(sigtraps[j].name); in c_kill() 1422 w = strlen(sigtraps[j].mess); in c_kill() 1425 w = utf_mbswidth(sigtraps[j].mess); in c_kill() 2337 Trap *p = sigtraps; in c_trap()
|
D | exec.c | 892 setexecsig(&sigtraps[SIGINT], SS_RESTORE_ORIG); in comexec() 893 setexecsig(&sigtraps[SIGQUIT], SS_RESTORE_ORIG); in comexec()
|
D | sh.h | 945 extern Trap sigtraps[ksh_NSIG + 1];
|