Searched refs:trapnote (Results 1 - 19 of 19) sorted by relevance

/ast/src/cmd/ksh93/sh/
H A Dfault.c99 shp->trapnote |= SH_SIGTRAP;
117 if(sig==SIGINT && (shp->trapnote&SH_SIGIGNORE))
133 shp->trapnote |= SH_SIGTERM;
154 shp->trapnote |= SH_SIGSET;
189 shp->trapnote |= SH_SIGTSTP;
210 shp->trapnote |= flag;
360 sh.trapnote=0;
391 if(!(shp->trapnote&~SH_SIGIGNORE))
393 shp->trapnote &= ~SH_SIGTRAP;
397 int sav_trapnote = shp->trapnote;
[all...]
H A Djobs.c202 int oldexit,trapnote; local
205 trapnote = shp->trapnote;
206 shp->trapnote = 0;
225 shp->trapnote = trapnote;
525 shp->trapnote |= SH_SIGTRAP;
558 shp->trapnote |= SH_SIGTRAP;
1627 if((intr && shp->trapnote) || (pid==1 && !intr))
1630 if(intr && shp->trapnote)
[all...]
H A Dmain.c457 shp->trapnote = 0;
518 shp->trapnote = 0;
H A Dexpand.c191 gp->gl_intr = &shp->trapnote;
H A Dsubshell.c803 shp->trapnote = 0;
812 if(shp->trapnote)
H A Dxec.c1728 shp->trapnote |= SH_SIGIGNORE;
1740 shp->trapnote &= ~SH_SIGIGNORE;
2909 if(shp->trapnote || (shp->exitval && sh_isstate(SH_ERREXIT)) &&
2945 if(shp->trapnote&SH_SIGSET)
3175 if(shp->trapnote&SH_SIGTERM)
3239 shp->trapnote &= ~SH_SIGTERM;
3447 shp->trapnote=0;
H A Dio.c718 if (sh->trapnote&SH_SIGSET)
724 if (sh->trapnote)
838 if(errno!=EINTR || shp->trapnote)
1855 if((shp->trapnote&(SH_SIGSET|SH_SIGTRAP)) && errno!=EIO && errno!=ENXIO)
1881 else if(shp->bltinfun && (shp->trapnote&SH_SIGTRAP) && shp->lastsig)
1891 if(shp->trapnote&SH_SIGSET)
1897 if(shp->trapnote&SH_SIGTRAP)
1916 shp->trapnote |= SH_SIGSET;
1922 shp->trapnote |= SH_SIGTRAP;
1934 if(shp->trapnote)
[all...]
/ast/src/cmd/ksh93/include/
H A Dshell.h145 unsigned char trapnote; /* set when trap/signal is pending */ member in struct:Shell_s
H A Ddefs.h474 #define sh_sigcheck(shp) do{if(shp->trapnote&SH_SIGSET)sh_exit(SH_EXITSIG);} while(0)
/ast/src/cmd/ksh93/bltins/
H A Dtrap.c127 shp->trapnote |= SH_SIGTRAP;
129 shp->trapnote = 0;
H A Dalarm.c120 tp->sh->trapnote |= SH_SIGALRM;
H A Dsleep.c154 shp->trapnote &= ~SH_SIGSET;
H A Dprint.c325 if(shp->trapnote&SH_SIGSET)
/ast/src/cmd/ksh93/edit/
H A Dedit.c830 if(shp->trapnote&(SH_SIGSET|SH_SIGTRAP))
913 if(shp->trapnote&(SH_SIGSET|SH_SIGTRAP))
H A Dhistory.c999 if(((Shell_t*)hp->histshell)->trapnote&SH_SIGSET)
H A Dvi.c265 if(ed->sh->trapnote&SH_SIGSET)
/ast/src/cmd/ie/
H A Dedit.c102 # define slowsig() (sh.trapnote&SIGSLOW)
H A Dhistory.c722 if(sh.trapnote&SIGSET)
H A Dvi.c264 if(sh.trapnote&SIGSET)

Completed in 386 milliseconds