Lines Matching defs:optind
513 int optind,
521 if (argc == optind)
525 * to be: argc - optind
527 if ((*entityp = calloc((argc - optind), sizeof (entity_t))) == NULL) {
532 for (/* void */; argc > optind; optind++) {
536 if ((argc - optind) > 2) {
537 (*entityp)[nentities++].e_name = strdup(argv[optind]);
543 *interval = strtonum(argv[optind], 1, MAXLONG, &errstr);
548 strdup(argv[optind]);
561 if ((argc - optind) == 1) {
586 *count = strtonum(argv[optind + 1], 1, MAXLONG, &errstr);
597 strdup(argv[optind++]);
599 strdup(argv[optind++]);
821 extern int optind;
905 argc, argv, optind, &interval, &count, &entities);