Searched defs:arglist (Results 1 - 10 of 10) sorted by relevance

/ast/src/cmd/ksh93/sh/
H A Dmain.c616 struct argnod *arglist=0; local
643 if(!arglist && S_ISDIR(statb.st_mode))
646 path_complete(shp,cp,"/*",&arglist);
670 if(arglist)
672 cp = arglist->argval;
673 arglist = arglist->argchn.ap;
H A Dsuid_exec.c87 static char **arglist; variable
106 arglist = argv;
446 arglist[0] = (char*)tmpname;
466 execv(tmpname,arglist);
H A Dnvtree.c974 struct argnod *arglist=0; local
1044 ap->argchn.ap = arglist;
1046 arglist = ap;
H A Dparse.c100 static unsigned long writedefs(Lex_t *lexp,struct argnod *arglist, int line, int type, struct argnod *cmd) argument
102 register struct argnod *argp = arglist;
H A Dmacro.c188 struct argnod *arglist=0; local
189 if((mode=path_expand(shp,str,&arglist))==1)
190 str = arglist->argval;
H A Dxec.c3663 char *arglist[3], *envlist[2], devfd[12], *cp; local
3667 arglist[0] = error_info.id?error_info.id:shp->shname;
3668 if(*arglist[0]=='-')
3669 arglist[0]++;
3670 arglist[1] = devfd;
3672 arglist[2] = 0;
3717 pid = spawnveg(shp->shpath,arglist,envlist,grp);
3725 errormsg(SH_DICT,ERROR_system(ERROR_NOEXEC),e_exec,arglist[0]);
/ast/src/lib/libcmd/
H A Dexpr.c179 char** arglist; member in struct:State_s
195 if (!(cp = *state->arglist++))
203 if (!(cp = *state->arglist++))
205 if (!(ep = *state->arglist++))
215 if (!(cp = *state->arglist++))
225 if (!(np->str = *state->arglist++))
232 if (cp[1] == 'u' && !strcmp(cp, "quote") && !(cp = *state->arglist++))
238 if (!(sp = *state->arglist++))
240 if (!(cp = *state->arglist++))
245 if (!(cp = *state->arglist
[all...]
H A Djoin.c214 getolist(Join_t* jp, const char* first, char** arglist) argument
217 char** argv = arglist;
288 return argv-arglist;
/ast/src/cmd/mailx/
H A Dmisc.c191 source(char** arglist) argument
195 if (!(fp = fileopen(*arglist, "EXr")))
H A Dcmd3.c348 cd(char** arglist) argument
354 if (!*arglist)
357 if (!(cp = expand(*arglist, 1)))
405 cmdmkdir(char** arglist) argument
409 if (!(cp = expand(*arglist, 1)))
425 cmdrename(char** arglist) argument
430 if (!(f = expand(arglist[0], 1)) || !(t = expand(arglist[1], 1)))
446 cmdrmdir(char** arglist) argument
450 if (!(cp = expand(*arglist,
[all...]

Completed in 47 milliseconds