Lines Matching refs:new_argc
318 int new_argc;
828 for (new_argc = 0, x = 0; x < cmdl_len; x++)
830 new_argc++;
834 ** is supposed to be NULL, so allocate enough for new_argc+1.
836 if ((new_argv = (char **) calloc(new_argc+1, sizeof(char *))) == NULL)
843 for (ptr = the_cmd_line, x = 0; x < new_argc; x++) {
847 new_argv[new_argc] = NULL;
850 printf("new_argc = %d\n", new_argc);
851 for (x = 0; x < new_argc; x++)
858 *argc_p = new_argc;