Lines Matching refs:optstring
367 populate_opts(char *optstring) in populate_opts() argument
373 if (optstring == NULL || *optstring == '\0') in populate_opts()
381 for (i = 0; *optstring != '\0'; i++) { in populate_opts()
390 marker = optstring; /* may need optstring later */ in populate_opts()
403 optstring = marker + opts_av[i].longnm_len + 1; in populate_opts()
406 opts_av[i].longnm = optstring; in populate_opts()
408 optstring = marker; in populate_opts()
423 getopt_av(int argc, char * const *argv, const char *optstring) in getopt_av() argument
432 if (_save_optstr != optstring) { in getopt_av()
436 _save_optstr = optstring; in getopt_av()
437 _save_numopts = populate_opts((char *)optstring); in getopt_av()