/titanic_44/usr/src/lib/libshell/common/sh/ |
H A D | fault.c | 96 shp->trapnote |= SH_SIGTRAP; in sh_fault() 114 if(sig==SIGINT && (shp->trapnote&SH_SIGIGNORE)) in sh_fault() 125 shp->trapnote |= SH_SIGTERM; in sh_fault() 143 shp->trapnote |= SH_SIGSET; in sh_fault() 178 shp->trapnote |= SH_SIGTSTP; in sh_fault() 199 shp->trapnote |= flag; in sh_fault() 349 sh.trapnote=0; in sh_sigreset() 380 if(!(sh.trapnote&~SH_SIGIGNORE)) in sh_chktrap() 382 sh.trapnote &= ~SH_SIGTRAP; in sh_chktrap() 386 int sav_trapnote = sh.trapnote; in sh_chktrap() [all …]
|
H A D | jobs.c | 186 int oldexit,trapnote; in job_chldtrap() local 189 trapnote = shp->trapnote; in job_chldtrap() 190 shp->trapnote = 0; in job_chldtrap() 209 shp->trapnote = trapnote; in job_chldtrap() 391 sh.trapnote |= SH_SIGTRAP; in job_reap() 424 sh.trapnote |= SH_SIGTRAP; in job_reap() 1440 if((intr && sh.trapnote) || (pid==1 && !intr)) in job_wait()
|
H A D | io.c | 649 if (sh->trapnote&SH_SIGSET) in onintr() 655 if (sh->trapnote) in onintr() 758 if(errno!=EINTR || sh.trapnote) in sh_open() 1616 if((sh.trapnote&(SH_SIGSET|SH_SIGTRAP)) && errno!=EIO && errno!=ENXIO) in slowexcept() 1650 if(sh.trapnote&SH_SIGSET) in slowexcept() 1656 if(sh.trapnote&SH_SIGTRAP) in slowexcept() 1675 sh.trapnote |= SH_SIGSET; in time_grace() 1681 sh.trapnote |= SH_SIGTRAP; in time_grace() 1693 if(sh.trapnote) in piperead() 1735 if(sh.trapnote) in slowread() [all …]
|
H A D | main.c | 91 if(shp->trapnote&SH_SIGSET) in fts_sigcheck() 475 shp->trapnote = 0; in exfile() 538 shp->trapnote = 0; in exfile()
|
H A D | expand.c | 191 gp->gl_intr = &shp->trapnote; in path_expand()
|
H A D | xec.c | 1258 shp->trapnote |= SH_SIGIGNORE; in sh_exec() 1271 shp->trapnote &= ~SH_SIGIGNORE; in sh_exec() 2204 if(shp->trapnote || (shp->exitval && sh_isstate(SH_ERREXIT)) && in sh_exec() 2236 if(shp->trapnote&SH_SIGSET) in sh_exec() 2448 if(shp->trapnote&SH_SIGTERM) in _sh_fork() 2520 sh.trapnote &= ~SH_SIGTERM; in sh_fork() 2671 shp->trapnote=0; in sh_funscope()
|
H A D | subshell.c | 739 shp->trapnote = 0; in sh_subshell()
|
/titanic_44/usr/src/cmd/sh/ |
H A D | fault.c | 240 trapnote |= flag; in fault() 336 trapnote = 0; in oldsigs() 349 trapnote &= ~TRAPSET; in chktrap()
|
H A D | expand.c | 71 if (trapnote & SIGSET) in expand() 173 while ((e = readdir(dirf)) && (trapnote & SIGSET) == 0) { in expand()
|
H A D | word.c | 420 if (trapnote & SIGSET) { in readb() 423 } else if ((trapnote & TRAPSET) && (rwait > 0)) { in readb() 428 } while ((len = read(f->fdes, f->fbuf + rest, toread)) < 0 && trapnote); in readb()
|
H A D | defs.c | 85 BOOL trapnote; variable
|
H A D | defs.h | 398 extern BOOL trapnote; 516 #define sigchk() if (trapnote & SIGSET) \
|
H A D | main.c | 396 if (trapnote & TRAPSET) in exfile() 407 trapnote = 0; in exfile()
|
/titanic_44/usr/src/lib/libshell/common/bltins/ |
H A D | sleep.c | 144 shp->trapnote &= ~SH_SIGSET; in sleep() 170 if (shp->trapnote & (SH_SIGSET | SH_SIGTRAP)) return; in sh_delay()
|
H A D | trap.c | 125 shp->trapnote |= SH_SIGTRAP; in b_trap() 127 shp->trapnote = 0; in b_trap()
|
H A D | alarm.c | 120 tp->sh->trapnote |= SH_SIGALRM; in trap_timeout()
|
H A D | print.c | 291 if(shp->trapnote&SH_SIGSET) in b_print()
|
/titanic_44/usr/src/lib/libshell/common/include/ |
H A D | shell.h | 139 unsigned char trapnote; /* set when trap/signal is pending */ member
|
H A D | defs.h | 429 #define sh_sigcheck() do{if(sh.trapnote&SH_SIGSET)sh_exit(SH_EXITSIG);} while(0)
|
/titanic_44/usr/src/lib/libshell/amd64/include/ast/ |
H A D | shell.h | 148 unsigned char trapnote; /* set when trap/signal is pending */ member
|
/titanic_44/usr/src/lib/libshell/i386/include/ast/ |
H A D | shell.h | 148 unsigned char trapnote; /* set when trap/signal is pending */ member
|
/titanic_44/usr/src/lib/libshell/sparc/include/ast/ |
H A D | shell.h | 148 unsigned char trapnote; /* set when trap/signal is pending */ member
|
/titanic_44/usr/src/lib/libshell/sparcv9/include/ast/ |
H A D | shell.h | 148 unsigned char trapnote; /* set when trap/signal is pending */ member
|
/titanic_44/usr/src/lib/libshell/common/edit/ |
H A D | completion.c | 313 if(sh.trapnote&SH_SIGSET) in ed_expand()
|
H A D | edit.c | 819 if(shp->trapnote&(SH_SIGSET|SH_SIGTRAP)) in ed_read() 900 if(shp->trapnote&(SH_SIGSET|SH_SIGTRAP)) in ed_read()
|