Searched defs:subshell (Results 1 - 8 of 8) sorted by relevance

/ast/src/cmd/tksh/
H A Duinit.c28 static void tksh_userinit(Shell_t* shp, int subshell) argument
40 if (subshell < 0)
46 else if (subshell > 0)
/ast/src/cmd/ksh93/include/
H A Dshell.h89 #define SH_SUBSHARE 27 /* subshell shares state with parent */
147 short subshell; /* set for virtual subshell */ member in struct:Shell_s
H A Dnval.h74 unsigned char subshell; member in struct:Namfun
/ast/src/cmd/ksh93/sh/
H A Dargs.c786 int subshell = shp->subshell; local
791 if(fd==0 && shp->subshell)
808 shp->subshell = 0;
819 shp->subshell = subshell;
H A Dsubshell.c66 static struct subshell struct
69 struct subshell *prev; /* previous subshell data */
70 struct subshell *pipe; /* subshell where output goes to pipe on fork */
71 Dt_t *var; /* variable table at time of subshell */
73 Dt_t *sfun; /* function scope for subshell */
74 Dt_t *salias;/* alias scope for subshell */
123 register struct subshell *sp = subshell_data->pipe;
175 * This routine creates a temp file if necessary and creates a subshell
476 int16_t subshell; local
[all...]
H A Dnvtype.c1321 int nelem=0,subshell=shp->subshell; local
1347 if(subshell)
1350 shp->subshell = 0;
1393 shp->subshell = subshell;
H A Dname.c1393 if(shp->subshell && c=='=')
1614 if(shp->subshell && !nv_local && !(flags&NV_RDONLY))
2436 int subshell = shp->subshell; local
2437 shp->subshell = 0;
2447 shp->subshell = subshell;
2542 if(shp->subshell)
H A Dio.c328 int subshell; /* saved for subshell */ member in struct:fdsave
1146 int isstring = shp->subshell?(sfset(sfstdout,0,0)&SF_STRING):0;
1156 if(fn==1 && shp->subshell && !shp->subshare && (flag==2 || isstring))
1191 else if(shp->subshell)
1262 if(shp->subshell && dupfd==1)
1515 if(flag!=2 || shp->subshell)
1699 filemap[shp->topfd].subshell = (flag&IOSUBSHELL);
1754 if(!flag && filemap[fd].subshell)
1804 /* keep file descriptors for subshell restor
[all...]

Completed in 40 milliseconds