Lines Matching defs:argv
164 evalcmd(int argc, char **argv)
171 p = argv[1];
174 ap = argv + 2;
634 parse_command_args(int argc, char **argv, int *use_syspath)
642 argv++;
645 cp = *argv;
649 argv++;
680 char **argv;
700 (void) &argv;
749 argv = stalloc(sizeof (char *) * (argc + 1));
753 *argv++ = sp->text;
755 *argv = NULL;
758 lastarg = argv[-1];
759 argv -= argc;
799 find_command(argv[0], &cmdentry, cmd_flags, path);
811 argsused = parse_command_args(argc, argv, &use_syspath);
818 argv += argsused;
924 trputs("Shell function: "); trargs(argv);
931 shellparam.p = argv + 1;
977 trputs("builtin command: "); trargs(argv);
1010 commandname = argv[0];
1012 argptr = argv + 1;
1019 exitstatus = cmdentry.u.bltin(argc, argv);
1057 trputs("normal command: "); trargs(argv);
1065 shellexec(argv, envp, path, cmdentry.u.index, vforked);
1124 bltincmd(int argc, char **argv)
1146 breakcmd(int argc, char **argv)
1148 int n = argc > 1 ? number(argv[1]) : 1;
1153 evalskip = (**argv == 'c')? SKIPCONT : SKIPBREAK;
1165 returncmd(int argc, char **argv)
1167 int ret = argc > 1 ? number(argv[1]) : exitstatus;
1184 falsecmd(int argc, char **argv)
1191 truecmd(int argc, char **argv)
1198 execcmd(int argc, char **argv)
1208 shellexec(argv + 1, environment(), pathval(), 0, 0);
1238 timescmd(int argc, char **argv)