Lines Matching refs:argv
168 static const char **prepare_exec_cmd(const char **argv) in prepare_exec_cmd() argument
173 for (argc = 0; argv[argc]; argc++) in prepare_exec_cmd()
178 for (argc = 0; argv[argc]; argc++) in prepare_exec_cmd()
179 nargv[argc + 1] = argv[argc]; in prepare_exec_cmd()
184 int execv_cmd(const char **argv) { in execv_cmd() argument
185 const char **nargv = prepare_exec_cmd(argv); in execv_cmd()
198 const char *argv[MAX_ARGS + 1]; in execl_cmd() local
203 argv[0] = cmd; in execl_cmd()
206 arg = argv[argc++] = va_arg(param, char *); in execl_cmd()
216 argv[argc] = NULL; in execl_cmd()
217 return execv_cmd(argv); in execl_cmd()