Lines Matching refs:traps
102 /* internal traps */
160 else /* print out current traps */
274 /* sig prefix cannot match internal traps */
352 * if <flag> is negative, then print all traps
361 const char *traps[SH_DEBUGTRAP+1];
369 traps[sig] = 0;
382 traps[sig&~SH_TRAP] = (char*)tp->sh_name;
390 /* print the traps */
393 /* use parent traps if otrapcom is set (for $(trap) */
407 sfprintf(sfstdout,trapfmt,sh_fmtq(trap),traps[sig]);