Searched refs:SH_EXITMASK (Results 1 – 11 of 11) sorted by relevance
67 n = (((arg= *argv)?(int)strtol(arg, (char**)0, 10)&SH_EXITMASK:shp->oldexit)); in b_return()
315 sh_fault(shp->exitval&SH_EXITMASK); in b_dot_cmd()
548 shp->exitval = (xno&SH_EXITMASK); in sh_exit()631 sig = savxit&SH_EXITMASK; in sh_done()644 exit(savxit&SH_EXITMASK); in sh_done()
590 shp->exitval &= SH_EXITMASK; in sh_subshell()647 sp->sig = (shp->exitval&SH_EXITMASK); in sh_subshell()744 int sig = shp->exitval&SH_EXITMASK; in sh_subshell()
1014 shp->exitval &= SH_EXITMASK; in sh_exec()1349 sh_done(shp,(shp->exitval&SH_EXITSIG)?(shp->exitval&SH_EXITMASK):0); in sh_exec()2684 sh_fault(shp->exitval&SH_EXITMASK); in sh_funscope()
1224 pw->p_exit &= SH_EXITMASK; in job_post()
250 #define SH_EXITMASK (SH_EXITSIG-1) /* normal exit status bits */ macro
261 #define SH_EXITMASK (SH_EXITSIG-1) /* normal exit status bits */ macro