Home | History | Annotate | Download | only in pending

Lines Matching defs:argv

45 // Login lies in argv[0], so add some aliases to catch that
99 char *argv[0];
123 // Parse one word from the command line, appending one or more argv[] entries
137 (*cmd)->argv[(*cmd)->argc++] = xstrndup(start, end-start);
144 (*cmd)->argv[(*cmd)->argc] = 0;
160 // Parse command into argv[]
174 // Parse next argument and add the results to argv[]
203 tl = toy_find(cmd->argv[0]);
216 toy_init(tl, cmd->argv);
220 if (toys.optargs != toys.argv+1) free(toys.optargs);
227 if (!cmd->pid) xexec(cmd->argv);
242 while(cmd->argc) free(cmd->argv[--cmd->argc]);
296 } else if (cc=='s') fputs(getbasename(*toys.argv), stdout);