Lines Matching refs:sigtraps

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()
1063 sigtraps[ksh_SIGEXIT].signal = ksh_SIGEXIT; in inittraps()
1064 sigtraps[ksh_SIGEXIT].name = "EXIT"; in inittraps()
1065 sigtraps[ksh_SIGEXIT].mess = "Exit trap"; in inittraps()
1066 sigtraps[ksh_SIGERR].signal = ksh_SIGERR; in inittraps()
1067 sigtraps[ksh_SIGERR].name = "ERR"; in inittraps()
1068 sigtraps[ksh_SIGERR].mess = "Error handler"; in inittraps()
1074 sigtraps[SIGINT].flags |= TF_DFL_INTR | TF_TTY_INTR; in inittraps()
1075 sigtraps[SIGQUIT].flags |= TF_DFL_INTR | TF_TTY_INTR; in inittraps()
1077 sigtraps[SIGTERM].flags |= TF_DFL_INTR; in inittraps()
1078 sigtraps[SIGHUP].flags |= TF_FATAL; in inittraps()
1079 sigtraps[SIGCHLD].flags |= TF_SHELL_USES; in inittraps()
1082 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()
1093 sigtraps[SIGALRM].flags |= TF_SHELL_USES; in alarm_init()
1094 setsig(&sigtraps[SIGALRM], alarm_catcher, in alarm_init()
1126 (&sigtraps[i]) : NULL); in gettrap()
1150 p = sigtraps; in gettrap()
1176 Trap *p = &sigtraps[i]; in trapsig()
1209 Trap *p = sigtraps; in fatal_trap_check()
1230 Trap *p = sigtraps; in trap_pending()
1249 Trap *p = sigtraps; in runtraps()
1343 Trap *p = sigtraps; in cleartraps()
1362 Trap *p = sigtraps; in restoresigs()
1416 Trap *p = &sigtraps[SIGPIPE]; in block_pipe()
1435 setsig(&sigtraps[SIGPIPE], SIG_DFL, SS_RESTORE_CURR); in restore_pipe()