Searched refs:optind (Results 1 – 6 of 6) sorted by relevance
125 int optind = 1; variable304 int top = optind; in exchange()374 first_nonopt += (optind - last_nonopt); in exchange()375 last_nonopt = optind; in exchange()390 first_nonopt = last_nonopt = optind; in _getopt_initialize()508 if (optind == 0 || !__getopt_initialized) in _getopt_internal()510 if (optind == 0) in _getopt_internal()511 optind = 1; /* Don't scan ARGV[0], the program name. */ in _getopt_internal()521 # define NONOPTION_P (argv[optind][0] != '-' || argv[optind][1] == '\0' \ in _getopt_internal()522 || (optind < nonoption_flags_len \ in _getopt_internal()[all …]
102 int this_option_optind = optind ? optind : 1; in main()169 if (optind < argc) in main()172 while (optind < argc) in main()173 printf ("%s ", argv[optind++]); in main()
49 extern int optind;
2417 optind = 0; in decode_switches()2419 while (optind < argc) in decode_switches()2495 if (optarg == 0 && argc > optind) in decode_switches()2498 for (cp=argv[optind]; ISDIGIT (cp[0]); ++cp) in decode_switches()2501 optarg = argv[optind++]; in decode_switches()2532 if (optarg == 0 && optind < argc in decode_switches()2533 && (ISDIGIT (argv[optind][0]) || argv[optind][0] == '.')) in decode_switches()2534 optarg = argv[optind++]; in decode_switches()2554 while (optind < argc) in decode_switches()2555 handle_non_switch_argument (argv[optind++], env); in decode_switches()
406 #define optind gnu_optind
424 optind = 1; /* make getopt_* reentrant */ in addr2line_main()487 addr = argv + optind; in addr2line_main()488 naddr = argc - optind; in addr2line_main()