Lines Matching refs:optstring
391 populate_opts(char *optstring) in populate_opts() argument
397 if (optstring == NULL || *optstring == '\0') in populate_opts()
405 for (i = 0; *optstring != '\0'; i++) { in populate_opts()
417 marker = optstring; /* may need optstring later */ in populate_opts()
430 optstring = marker + opts_av[i].longnm_len + 1; in populate_opts()
433 opts_av[i].longnm = optstring; in populate_opts()
435 optstring = marker; in populate_opts()
452 getopt_av(int argc, char * const *argv, const char *optstring) in getopt_av() argument
462 if (_save_optstr != optstring) { in getopt_av()
466 _save_optstr = optstring; in getopt_av()
467 _save_numopts = populate_opts((char *)optstring); in getopt_av()