Home | History | Annotate | Download | only in lib

Lines Matching refs:nextchar

146 static char *nextchar;
407 nextchar = NULL;
472 updating `optind' and `nextchar' so that the next call to `getopt' can
549 if (nextchar == NULL || *nextchar == '\0')
622 nextchar = (argv[optind] + 1
653 for (nameend = nextchar; *nameend && *nameend != '='; nameend++)
659 if (!strncmp (p->name, nextchar, nameend - nextchar))
661 if ((unsigned int) (nameend - nextchar)
686 nextchar += strlen (nextchar);
717 nextchar += strlen (nextchar);
733 nextchar += strlen (nextchar);
738 nextchar += strlen (nextchar);
754 || my_index (optstring, *nextchar) == NULL)
761 argv[0], nextchar);
765 argv[0], argv[optind][0], nextchar);
767 nextchar = (char *) "";
777 char c = *nextchar++;
781 if (*nextchar == '\0')
811 if (*nextchar != '\0')
813 optarg = nextchar;
841 for (nextchar = nameend = optarg; *nameend && *nameend != '='; nameend++)
847 if (!strncmp (p->name, nextchar, nameend - nextchar))
849 if ((unsigned int) (nameend - nextchar) == strlen (p->name))
872 nextchar += strlen (nextchar);
892 nextchar += strlen (nextchar);
906 nextchar += strlen (nextchar);
910 nextchar += strlen (nextchar);
920 nextchar = NULL;
928 if (*nextchar != '\0')
930 optarg = nextchar;
935 nextchar = NULL;
940 if (*nextchar != '\0')
942 optarg = nextchar;
966 nextchar = NULL;