Lines Matching refs:__optpos
27 static int __optpos; in getopt() local
33 __optpos = 0; in getopt()
54 if (!__optpos) in getopt()
55 __optpos++; in getopt()
56 c = argv[optind][__optpos]; in getopt()
57 optchar = argv[optind] + __optpos; in getopt()
58 __optpos++; in getopt()
60 if (!argv[optind][__optpos]) { in getopt()
62 __optpos = 0; in getopt()
82 if (optstring[i + 1] != ':' || __optpos) { in getopt()
84 if (__optpos) in getopt()
85 optarg += __optpos; in getopt()
86 __optpos = 0; in getopt()