Searched refs:optind (Results 1 – 5 of 5) sorted by relevance
9 int optind = 1; variable17 if (optind >= argc) in getopt()20 const char* arg = argv[optind]; in getopt()53 optind++; in getopt()61 } else if (argc > ++optind) { in getopt()62 optarg = (char *)argv[optind++]; in getopt()
8 extern int optind;
80 if (optind >= argc) { in main()93 std::string baseName = std::string(argv[optind]); in main()
738 if (optind < argc) { in main()739 addr = strtoul(argv[optind], &ep, 10); in main()744 optind++; in main()747 if (optind != argc) in main()
255 for (int i = optind; i < argc; ++i) { in main()