Home
last modified time | relevance | path

Searched refs:SH_EXITSIG (Results 1 – 7 of 7) sorted by relevance

/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dfault.c55 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()
H A Djobs.c104 #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()
H A Dxec.c1406 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()
H A Dsubshell.c819 if(shp->exitval > SH_EXITSIG) in sh_subshell()
H A Dio.c728 sh_exit(SH_EXITSIG); in onintr()
1932 sh_exit(SH_EXITSIG); in slowexcept()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/include/
H A Dshell.h255 #define SH_EXITSIG 0400 /* signal exit bit */ macro
256 #define SH_EXITMASK (SH_EXITSIG-1) /* normal exit status bits */
H A Ddefs.h479 #define sh_sigcheck(shp) do{if(shp->trapnote&SH_SIGSET)sh_exit(SH_EXITSIG);} while(0)