Searched refs:SH_EXITSIG (Results 1 – 12 of 12) sorted by relevance
53 sh_exit(SH_EXITSIG); in malloc_done()103 shp->exitval = SH_EXITSIG|sig; in sh_fault()140 sh_exit(SH_EXITSIG); in sh_fault()182 sh_exit(SH_EXITSIG); in sh_fault()207 sh_exit(SH_EXITSIG); in sh_fault()423 sh.oldexit = SH_EXITSIG|sig; in sh_chktrap()506 if(xno==SH_EXITSIG) in sh_exit()531 shp->exitval = (SH_EXITSIG|SIGTSTP); in sh_exit()595 savxit = SH_EXITSIG|sig; in sh_done()630 if(savxit&SH_EXITSIG) in sh_done()
87 #define SH_STOPSIG (SH_EXITSIG<<1)202 shp->savexit |= SH_EXITSIG; in job_chldtrap()404 jp->exitval |= SH_EXITSIG; in job_reap()1221 else if(pw->p_exit >= SH_EXITSIG) in job_post()1419 sh.exitval |= SH_EXITSIG; in job_wait()1626 jp->exitval |= SH_EXITSIG; in job_unpost()
646 if(shp->exitval > SH_EXITSIG) in sh_subshell()742 if(shp->exitval > SH_EXITSIG) in sh_subshell()
1272 if(shp->exitval == (SH_EXITSIG|SIGINT)) in sh_exec()1349 sh_done(shp,(shp->exitval&SH_EXITSIG)?(shp->exitval&SH_EXITMASK):0); in sh_exec()1426 if(!(type&SH_EXITSIG)) in sh_exec()2237 sh_exit(SH_EXITSIG|shp->lastsig); in sh_exec()2449 sh_exit(SH_EXITSIG|SIGTERM); in _sh_fork()2683 if(shp->exitval > SH_EXITSIG) in sh_funscope()
652 sh_exit(SH_EXITSIG); in onintr()1654 sh_exit(SH_EXITSIG); in slowexcept()
249 #define SH_EXITSIG 0400 /* signal exit bit */ macro250 #define SH_EXITMASK (SH_EXITSIG-1) /* normal exit status bits */
429 #define sh_sigcheck() do{if(sh.trapnote&SH_SIGSET)sh_exit(SH_EXITSIG);} while(0)
260 #define SH_EXITSIG 0400 /* signal exit bit */ macro261 #define SH_EXITMASK (SH_EXITSIG-1) /* normal exit status bits */
314 if(shp->exitval > SH_EXITSIG) in b_dot_cmd()