Home
last modified time | relevance | path

Searched refs:SH_MONITOR (Results 1 – 11 of 11) sorted by relevance

/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dmain.c199 sh_onoption(SH_MONITOR); in sh_main()
416 sh_offoption(SH_MONITOR); in exfile()
419 sh_offstate(SH_MONITOR); in exfile()
441 sh_offstate(SH_MONITOR); in exfile()
494 sh_offstate(SH_MONITOR); in exfile()
500 sh_offstate(SH_MONITOR); in exfile()
501 if(sh_isoption(SH_MONITOR)) in exfile()
502 sh_onstate(SH_MONITOR); in exfile()
H A Dsubshell.c211 sh_offoption(SH_MONITOR); in sh_subfork()
212 sh_offstate(SH_MONITOR); in sh_subfork()
601 sp->monitor = (sh_isstate(SH_MONITOR)!=0); in sh_subshell()
603 sh_offstate(SH_MONITOR); in sh_subshell()
662 sh_onstate(SH_MONITOR); in sh_subshell()
H A Dxec.c1016 sh_onstate(SH_MONITOR); in sh_exec()
1626 sh_offstate(SH_MONITOR); in sh_exec()
1629 sh_offstate(SH_MONITOR); in sh_exec()
1735 if(!sh_isoption(SH_MONITOR)) in sh_exec()
1749 if(!sh_isoption(SH_MONITOR)) in sh_exec()
1800 sh_offstate(SH_MONITOR); in sh_exec()
2172 if(sh_isstate(SH_MONITOR)) in sh_exec()
2967 sh_onstate(SH_MONITOR); in sh_exec()
3135 if(sh_isstate(SH_MONITOR)) in _sh_fork()
3198 sh_offstate(SH_MONITOR); in _sh_fork()
[all …]
H A Dargs.c76 SH_KEYWORD, SH_MONITOR, SH_NOEXEC, SH_PRIVILEGED, SH_SFLAG, SH_TFLAG,
815 if(monitor = (sh_isstate(SH_MONITOR)!=0)) in sh_argprocsub()
816 sh_offstate(SH_MONITOR); in sh_argprocsub()
830 sh_onstate(SH_MONITOR); in sh_argprocsub()
H A Dfault.c527 if(!shp->subshell && sh_isstate(SH_MONITOR) && !sh_isstate(SH_STOPOK)) in sh_exit()
533 sh_onstate(SH_MONITOR); in sh_exit()
556 sh_offstate(SH_MONITOR); in sh_exit()
H A Djobs.c735 sh_onoption(SH_MONITOR); in job_init()
753 else if(!possible && (!sh_isstate(SH_MONITOR) || sh_isstate(SH_FORKED))) in job_close()
1419 job.curpgid = sh_isstate(SH_MONITOR)?pid:0; in job_post()
1430 if(sh_isstate(SH_MONITOR)) in job_post()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/include/
H A Djobs.h68 # undef SH_MONITOR
69 # define SH_MONITOR 0 macro
H A Dshell.h67 #define SH_MONITOR 4 /* used also as a state */ macro
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/data/
H A Doptions.c84 "monitor", SH_MONITOR,
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/bltins/
H A Dmisc.c201 sh_offstate(SH_MONITOR); in b_eval()
417 if(!sh_isoption(SH_MONITOR) || !job.jobcontrol) in b_bg()
H A Dtypeset.c1113 int was_monitor = sh_isoption(SH_MONITOR); in b_set()
1125 if(sh_isoption(SH_MONITOR) && !was_monitor) in b_set()
1126 sh_onstate(SH_MONITOR); in b_set()
1127 else if(!sh_isoption(SH_MONITOR) && was_monitor) in b_set()
1128 sh_offstate(SH_MONITOR); in b_set()