Lines Matching refs:argc
170 int argc; in prepare_exec_cmd() local
173 for (argc = 0; argv[argc]; argc++) in prepare_exec_cmd()
175 nargv = malloc(sizeof(*nargv) * (argc + 2)); 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()
180 nargv[argc + 1] = NULL; in prepare_exec_cmd()
197 int argc; in execl_cmd() local
204 argc = 1; in execl_cmd()
205 while (argc < MAX_ARGS) { in execl_cmd()
206 arg = argv[argc++] = va_arg(param, char *); in execl_cmd()
211 if (MAX_ARGS <= argc) { in execl_cmd()
216 argv[argc] = NULL; in execl_cmd()