/external/mksh/src/ |
histrap.c | 32 Trap sigtraps[NSIG + 1]; variable 979 /* Populate sigtraps based on sys_signame and sys_siglist. */ 982 sigtraps[i].signal = i; 984 sigtraps[i].name = "ERR"; 985 sigtraps[i].mess = "Error handler"; 997 sigtraps[i].name = shf_smprintf("%d", i); 1010 sigtraps[i].name = s; 1015 sigtraps[i].mess = sys_siglist[i]; 1017 sigtraps[i].mess = strsignal(i); 1019 sigtraps[i].mess = NULL [all...] |
jobs.c | 172 setsig(&sigtraps[SIGCHLD], j_sigchld, 176 setsig(&sigtraps[SIGCHLD], SIG_DFL, SS_RESTORE_ORIG|SS_FORCE); 197 sigtraps[tt_sigs[i]].flags |= TF_SHELL_USES; 199 setsig(&sigtraps[tt_sigs[i]], SIG_IGN, 345 setsig(&sigtraps[SIGTTIN], SIG_DFL, 364 setsig(&sigtraps[tt_sigs[i]], SIG_IGN, 391 setsig(&sigtraps[tt_sigs[i]], SIG_IGN, 395 if (sigtraps[tt_sigs[i]].flags & 397 setsig(&sigtraps[tt_sigs[i]], 398 (sigtraps[tt_sigs[i]].flags & TF_ORIG_IGN) [all...] |
main.c | 511 sigtraps[SIGWINCH].flags |= TF_SHELL_USES; 512 setsig(&sigtraps[SIGWINCH], x_sigwinch, 867 sigtraps[ksh_SIGEXIT].trap && 870 runtrap(&sigtraps[ksh_SIGEXIT], trap_nested == 1); 875 runtrap(&sigtraps[ksh_SIGERR], trap_nested == 1); 971 setsig(&sigtraps[sig], SIG_DFL, [all...] |
funcs.c | 1304 ki->name_width, sigtraps[i].name, 1305 sigtraps[i].mess); 1365 shprintf("%s\n", sigtraps[n].name); 1378 w = strlen(sigtraps[j].name); 1381 w = strlen(sigtraps[j].mess); 1384 w = utf_mbswidth(sigtraps[j].mess); [all...] |
exec.c | 825 setexecsig(&sigtraps[SIGINT], SS_RESTORE_ORIG); 826 setexecsig(&sigtraps[SIGQUIT], SS_RESTORE_ORIG); [all...] |
sh.h | 897 extern Trap sigtraps[NSIG+1]; [all...] |