Searched refs:comsub (Results 1 - 6 of 6) sorted by relevance

/osnet-11/usr/src/lib/libshell/common/sh/
H A Dsubshell.c97 char comsub; member in struct:subshell
208 shp->comsub = 0;
455 * If comsub is not null, then output will be placed in temp file (or buffer)
456 * If comsub is not null, the return value will be a stream consisting of
460 Sfio_t *sh_subshell(Shell_t *shp,Shnode_t *t, int flags, int comsub) argument
511 if(comsub)
516 sp->comsub = shp->comsub;
517 shp->subshare = comsub==2 || (comsub
[all...]
H A Dlex.c135 static int comsub(Lex_t*,int);
288 lp->comsub = 0;
867 wordflags |= comsub(lp,c);
1203 if(mode==ST_BEGIN && (lp->lex.reservok||lp->comsub))
1205 if(lp->comsub)
1219 if(lp->comsub && c==RBRACE)
1321 else if(n==RBRACE && lp->comsub)
1523 static int comsub(register Lex_t *lp, int endtok) function
1531 csub = lp->comsub;
1536 lp->comsub
[all...]
H A Dxec.c1450 if(shp->comsub==1 && !(shp->fdstatus[1]&IONOSEEK) && sh_pipe(subpipe)>=0)
1530 if(shp->comsub==1 && subpipe[0]>=0)
1547 if(shp->comsub==1 && subpipe[0]>=0)
1752 if(shp->comsub==1)
1781 if(shp->comsub==1 && subpipe[0]>=0)
1885 if(shp->comsub==1 && !(shp->fdstatus[1]&IONOSEEK) && sh_pipe(subpipe)>=0)
2400 if(shp->subshell && shp->comsub==1)
2964 if(shp->comsub==1 && subpipe[0]>=0)
3020 shp->comsub = 0;
H A Dio.c1256 if(shp->comsub==1)
/osnet-11/usr/src/lib/libshell/common/include/
H A Dshlex.h50 char comsub; /* parsing command substitution */ member in struct:_shlex_
H A Ddefs.h203 char comsub; /* set when in $() comsub */ \
204 char subshare; /* set when in ${..} comsub */ \

Completed in 45 milliseconds