Searched refs:optchr (Results 1 – 2 of 2) sorted by relevance
206 static int optchr = 1; in getopt() local209 if (optchr == 1) { in getopt()227 optopt = argv[optind][optchr]; in getopt()230 if (argv[optind][++optchr] == '\0') { in getopt()231 optchr = 1; in getopt()239 optchr = 1; in getopt()240 if (argv[optind][optchr + 1]) { in getopt()242 optarg = &argv[optind++][optchr + 1]; in getopt()252 if (argv[optind][++optchr] == '\0') { in getopt()253 optchr = 1; in getopt()
254 static int optchr = 1; in getopt() local257 if (optchr == 1) { in getopt()275 optopt = argv[optind][optchr]; in getopt()278 if (argv[optind][++optchr] == '\0') { in getopt()279 optchr = 1; in getopt()287 optchr = 1; in getopt()288 if (argv[optind][optchr + 1]) { in getopt()290 optarg = &argv[optind++][optchr + 1]; in getopt()300 if (argv[optind][++optchr] == '\0') { in getopt()301 optchr = 1; in getopt()