Searched refs:SH_EXITSIG (Results 1 – 7 of 7) sorted by relevance
55 sh_exit(SH_EXITSIG); in malloc_done()106 shp->exitval = SH_EXITSIG|sig; in sh_fault()146 sh_exit(SH_EXITSIG); in sh_fault()193 sh_exit(SH_EXITSIG); in sh_fault()218 sh_exit(SH_EXITSIG); in sh_fault()517 if(xno==SH_EXITSIG) in sh_exit()546 shp->exitval = (SH_EXITSIG|SIGTSTP); in sh_exit()611 savxit = SH_EXITSIG|sig; in sh_done()646 if(savxit&SH_EXITSIG) in sh_done()
104 #define SH_STOPSIG (SH_EXITSIG<<1)219 shp->savexit |= SH_EXITSIG; in job_chldtrap()539 jp->exitval |= SH_EXITSIG; in job_reap()1458 else if(pw->p_exit >= SH_EXITSIG) in job_post()1661 shp->exitval |= SH_EXITSIG; in job_wait()1876 jp->exitval |= SH_EXITSIG; in job_unpost()
1406 sh.exitval = SH_EXITSIG|shp->lastsig; in sh_exec()1752 if(shp->exitval == (SH_EXITSIG|SIGINT)) in sh_exec()1866 sh_done(shp,(shp->exitval&SH_EXITSIG)?(shp->exitval&SH_EXITMASK):0); in sh_exec()1955 if(!(type&SH_EXITSIG)) in sh_exec()2963 sh_exit(SH_EXITSIG|shp->lastsig); in sh_exec()3193 sh_exit(SH_EXITSIG|SIGTERM); in _sh_fork()3481 if(r>SH_EXITSIG && ((r&SH_EXITMASK)==SIGINT || ((r&SH_EXITMASK)==SIGQUIT))) in sh_funscope()
819 if(shp->exitval > SH_EXITSIG) in sh_subshell()
728 sh_exit(SH_EXITSIG); in onintr()1932 sh_exit(SH_EXITSIG); in slowexcept()
255 #define SH_EXITSIG 0400 /* signal exit bit */ macro256 #define SH_EXITMASK (SH_EXITSIG-1) /* normal exit status bits */
479 #define sh_sigcheck(shp) do{if(shp->trapnote&SH_SIGSET)sh_exit(SH_EXITSIG);} while(0)