Home
last modified time | relevance | path

Searched refs:optpos (Results 1 – 1 of 1) sorted by relevance

/third_party/ulib/musl/src/misc/
A Dgetopt.c12 #define optpos __optpos macro
52 if (!optpos) in getopt()
53 optpos++; in getopt()
54 if ((k = mbtowc(&c, argv[optind] + optpos, MB_LEN_MAX)) < 0) { in getopt()
58 optchar = argv[optind] + optpos; in getopt()
60 optpos += k; in getopt()
62 if (!argv[optind][optpos]) { in getopt()
64 optpos = 0; in getopt()
95 if (optstring[i + 1] != ':' || optpos) { in getopt()
96 optarg = argv[optind++] + optpos; in getopt()
[all …]

Completed in 2 milliseconds