Searched refs:sigtraps (Results 1 – 6 of 6) sorted by relevance
/third_party/mksh/ |
D | histrap.c | 32 Trap sigtraps[ksh_NSIG + 1]; variable 1067 sigtraps[i].signal = i; in inittraps() 1078 sigtraps[i].name = null; in inittraps() 1091 sigtraps[i].name = s; in inittraps() 1095 if (!strcmp(sigtraps[i].name, "EXIT") || in inittraps() 1096 !strcmp(sigtraps[i].name, "ERR")) { in inittraps() 1098 internal_warningf(Tinvname, sigtraps[i].name, in inittraps() 1101 sigtraps[i].name = null; in inittraps() 1104 if (sigtraps[i].name == null) in inittraps() 1105 sigtraps[i].name = shf_smprintf(Tf_d, i); in inittraps() [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() 205 sigtraps[tt_sigs[i]].flags |= TF_SHELL_USES; in j_init() 207 setsig(&sigtraps[tt_sigs[i]], SIG_IGN, in j_init() 357 setsig(&sigtraps[SIGTTIN], SIG_DFL, 376 setsig(&sigtraps[tt_sigs[i]], SIG_IGN, 403 setsig(&sigtraps[tt_sigs[i]], SIG_IGN, 407 if (sigtraps[tt_sigs[i]].flags & 409 setsig(&sigtraps[tt_sigs[i]], 410 (sigtraps[tt_sigs[i]].flags & TF_ORIG_IGN) ? [all …]
|
D | main.c | 597 sigtraps[SIGWINCH].flags |= TF_SHELL_USES; in main_init() 598 setsig(&sigtraps[SIGWINCH], x_sigwinch, in main_init() 994 sigtraps[ksh_SIGEXIT].trap && in unwind() 997 runtrap(&sigtraps[ksh_SIGEXIT], trap_nested == 1); in unwind() 1002 runtrap(&sigtraps[ksh_SIGERR], trap_nested == 1); in unwind() 1099 setsig(&sigtraps[sig], SIG_DFL, in quitenv()
|
D | funcs.c | 1094 ki->name_width, sigtraps[i].name, in kill_fmt_entry() 1095 sigtraps[i].mess); in kill_fmt_entry() 1154 shprintf(Tf_sN, sigtraps[n].name); in c_kill() 1161 shf_puts(sigtraps[n].name, shl_stdout); in c_kill() 1176 w = strlen(sigtraps[j].name); in c_kill() 1179 w = strlen(sigtraps[j].mess); in c_kill() 1182 w = utf_mbswidth(sigtraps[j].mess); in c_kill() 2098 Trap *p = sigtraps; in c_trap()
|
D | exec.c | 854 setexecsig(&sigtraps[SIGINT], SS_RESTORE_ORIG); in comexec() 855 setexecsig(&sigtraps[SIGQUIT], SS_RESTORE_ORIG); in comexec()
|
D | sh.h | 1379 extern Trap sigtraps[ksh_NSIG + 1];
|