Searched refs:nargv (Results 1 – 1 of 1) sorted by relevance
171 const char **nargv; in prepare_exec_cmd() local175 nargv = malloc(sizeof(*nargv) * (argc + 2)); in prepare_exec_cmd()177 nargv[0] = subcmd_config.exec_name; in prepare_exec_cmd()179 nargv[argc + 1] = argv[argc]; in prepare_exec_cmd()180 nargv[argc + 1] = NULL; in prepare_exec_cmd()181 return nargv; in prepare_exec_cmd()185 const char **nargv = prepare_exec_cmd(argv); in execv_cmd() local188 execvp(subcmd_config.exec_name, (char **)nargv); in execv_cmd()190 free(nargv); in execv_cmd()