Lines Matching refs:new_argc
371 int new_argc;
1518 for (new_argc = 0, x = 0; x < cmdl_len; x++)
1520 new_argc++;
1524 ** is supposed to be NULL, so allocate enough for new_argc+1.
1526 if ((new_argv = (char **) calloc(new_argc+1, sizeof(char *))) == NULL)
1533 for (ptr = the_cmd_line, x = 0; x < new_argc; x++) {
1537 new_argv[new_argc] = NULL;
1540 printf("new_argc = %d\n", new_argc);
1541 for (x = 0; x < new_argc; x++)
1548 printf( " UNIX command line args (argc = %d):\n", new_argc);
1549 for (x = 0; x < new_argc; x++)
1557 *argc_p = new_argc;