Lines Matching defs:flag
64 register int flag=0;
111 flag = shp->sigflag[sig]&~SH_SIGOFF;
116 if(flag&SH_SIGIGNORE)
118 if(flag&SH_SIGDONE)
121 if((flag&SH_SIGINTERACTIVE) && sh_isstate(SH_INTERACTIVE) && !sh_isstate(SH_FORKED) && ! shp->subshell)
169 flag = SH_SIGTRAP;
174 flag = SH_SIGSET;
183 flag = 0;
199 shp->trapnote |= flag;
201 shp->sigflag[sig] |= flag;
267 register int flag;
272 else if(!((flag=sh.sigflag[sig])&(SH_SIGFAULT|SH_SIGOFF)))
278 flag |= SH_SIGOFF;
282 flag |= SH_SIGFAULT;
286 flag &= ~(SH_SIGSET|SH_SIGTRAP);
287 sh.sigflag[sig] = flag;
296 register int flag, sig = sh.sigmax;
300 flag = sh.sigflag[sig];
301 if((flag&(SH_SIGDONE|SH_SIGIGNORE|SH_SIGINTERACTIVE)) && !(flag&(SH_SIGFAULT|SH_SIGOFF)))
314 register int flag, sig=sh.st.trapmax;
319 flag = sh.sigflag[sig]&~(SH_SIGTRAP|SH_SIGSET);
330 flag &= ~SH_SIGFAULT;
331 flag |= SH_SIGOFF;
333 sh.sigflag[sig] = flag;
357 register int flag = sh.sigflag[sig];
360 if(!(flag&SH_SIGFAULT))
362 flag &= ~(SH_SIGTRAP|SH_SIGSET);
369 sh.sigflag[sig] = flag;