Home
last modified time | relevance | path

Searched refs:SH_EXITMASK (Results 1 – 6 of 6) sorted by relevance

/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/bltins/
H A Dcflow.c68 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()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dfault.c562 shp->exitval = (xno&SH_EXITMASK); in sh_exit()
647 sig = savxit&SH_EXITMASK; in sh_done()
671 exit(savxit&SH_EXITMASK); in sh_done()
H A Dsubshell.c649 shp->exitval &= SH_EXITMASK; in sh_subshell()
821 int sig = shp->exitval&SH_EXITMASK; in sh_subshell()
H A Dxec.c1408 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()
H A Djobs.c1461 pw->p_exit &= SH_EXITMASK; in job_post()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/include/
H A Dshell.h256 #define SH_EXITMASK (SH_EXITSIG-1) /* normal exit status bits */ macro