Home
last modified time | relevance | path

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

/external/wpa_supplicant_6/wpa_supplicant/src/utils/
Dcommon.c206 static int optchr = 1; in getopt() local
209 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()
/external/wpa_supplicant_8/src/utils/
Dcommon.c254 static int optchr = 1; in getopt() local
257 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()