Searched refs:SH_MONITOR (Results 1 – 11 of 11) sorted by relevance
199 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()
211 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()
999 volatile int was_monitor = sh_isstate(SH_MONITOR); in sh_exec()1016 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()1789 if((type&FINT) && !sh_isstate(SH_MONITOR)) in sh_exec()1800 sh_offstate(SH_MONITOR); in sh_exec()2093 job.waitall |= !pipejob && sh_isstate(SH_MONITOR); in sh_exec()2172 if(sh_isstate(SH_MONITOR)) in sh_exec()[all …]
76 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()
527 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()
735 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()
68 # undef SH_MONITOR69 # define SH_MONITOR 0 macro
67 #define SH_MONITOR 4 /* used also as a state */ macro
84 "monitor", SH_MONITOR,
1113 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()
201 sh_offstate(SH_MONITOR); in b_eval()417 if(!sh_isoption(SH_MONITOR) || !job.jobcontrol) in b_bg()