Lines Matching refs:optind
17 int optind = 1;
59 /* optind may be zero with some POSIX uses.
62 if (optind == 0)
63 optind = 1;
82 if (optind < argc) {
85 optind++;
86 optarg = argv[optind++];
92 optind++;
102 optind++;
125 if ((argc > optind) && (argv != 0)) {
126 const char *arg = (const char *)argv[optind];
172 if ((optind + 1) >= argc) {
180 if ((argc - optind) > 0) {
182 optarg = argv[++optind];
187 optind++;
222 if ((argc > optind) && (argv != 0)) {
223 const char *arg = argv[optind];
260 if ((argc > optind) && (argv != 0)) {
261 const char *arg = argv[optind];