Home | History | Annotate | Download | only in src

Lines Matching defs:argv

217       if (!strcmp("*", arg->argv[f]) || !strcmp(pwd->pw_name, arg->argv[f])) {
234 mode = Nam2mode(arg->argv[f]);
236 log_Printf(LogWARN, "allow modes: %s: Invalid mode\n", arg->argv[f]);
295 char *argv[MAXARGS];
298 argc = MakeArgs(line, argv, MAXARGS, PARSE_REDUCE);
300 if (argc == 2 && !strcmp(argv[1], ":"))
301 return argv[0];
303 if (argc != 1 || (len = strlen(argv[0])) < 2 || argv[0][len-1] != ':') {
308 argv[0][len-1] = '\0'; /* Lose the ':' */
310 return argv[0];
326 char *argv[MAXARGS];
397 if ((argc = command_Expand_Interpret(cp, len, argv, cp - line)) < 0)
400 allowcmd = argc > 0 && !strcasecmp(argv[0], "allow");
409 command_Run(bundle, argc, (char const *const *)argv, prompt,