Home
last modified time | relevance | path

Searched refs:SH_FUNEVAL (Results 1 – 4 of 4) sorted by relevance

/titanic_41/usr/src/lib/libshell/common/include/
H A Ddefs.h353 #define SH_FUNEVAL 0x10000 /* for sh_eval for function load */ macro
/titanic_41/usr/src/lib/libshell/common/sh/
H A Dxec.c494 t = (Shnode_t*)sh_parse(shp,iop,(mode&(SH_READEVAL|SH_FUNEVAL))?mode&SH_FUNEVAL:SH_NL); in sh_eval()
495 if(!(mode&SH_FUNEVAL) || !sfreserve(iop,0,0)) in sh_eval()
500 mode &= ~SH_FUNEVAL; in sh_eval()
505 if((mode&~SH_FUNEVAL) && shp->hist_ptr) in sh_eval()
510 sh_exec(t,sh_isstate(SH_ERREXIT)|sh_isstate(SH_NOFORK)|(mode&~SH_FUNEVAL)); in sh_eval()
511 if(!(mode&SH_FUNEVAL)) in sh_eval()
H A Dparse.c328 if(shp->binscript && (sffileno(iop)==shp->infd || (flag&SH_FUNEVAL))) in sh_parse()
358 if(sffileno(iop)==shp->infd || (flag&SH_FUNEVAL)) in sh_parse()
364 flag &= ~SH_FUNEVAL; in sh_parse()
H A Dpath.c659 sh_eval(sfnew(NIL(Sfio_t*),buff,IOBSIZE,fno,SF_READ),SH_FUNEVAL); in funload()