Searched refs:SH_EXITMASK (Results 1 – 6 of 6) sorted by relevance
68 if(n<0 || n==256 || n > SH_EXITMASK+shp->gd->sigmax+1) in b_return()69 n &= ((unsigned int)n)&SH_EXITMASK; in b_return()
562 shp->exitval = (xno&SH_EXITMASK); in sh_exit()647 sig = savxit&SH_EXITMASK; in sh_done()671 exit(savxit&SH_EXITMASK); in sh_done()
649 shp->exitval &= SH_EXITMASK; in sh_subshell()821 int sig = shp->exitval&SH_EXITMASK; in sh_subshell()
1408 shp->exitval &= SH_EXITMASK; in sh_exec()1866 sh_done(shp,(shp->exitval&SH_EXITSIG)?(shp->exitval&SH_EXITMASK):0); in sh_exec()3481 if(r>SH_EXITSIG && ((r&SH_EXITMASK)==SIGINT || ((r&SH_EXITMASK)==SIGQUIT))) in sh_funscope()3482 kill(getpid(),r&SH_EXITMASK); in sh_funscope()
1461 pw->p_exit &= SH_EXITMASK; in job_post()
256 #define SH_EXITMASK (SH_EXITSIG-1) /* normal exit status bits */ macro