Lines Matching refs:optstring
403 const char *optstring) in _getopt_initialize() argument
417 if (optstring[0] == '-') in _getopt_initialize()
420 ++optstring; in _getopt_initialize()
422 else if (optstring[0] == '+') in _getopt_initialize()
425 ++optstring; in _getopt_initialize()
462 return optstring; in _getopt_initialize()
522 _getopt_internal (int argc, char *const *argv, const char *optstring, in _getopt_internal() argument
532 optstring = _getopt_initialize (argc, argv, optstring); in _getopt_internal()
642 || (long_only && (argv[optind][2] || !my_index (optstring, argv[optind][1]))))) in _getopt_internal()
735 return optstring[0] == ':' ? ':' : '?'; in _getopt_internal()
754 || my_index (optstring, *nextchar) == NULL) in _getopt_internal()
778 char *temp = my_index (optstring, c); in _getopt_internal()
827 if (optstring[0] == ':') in _getopt_internal()
907 return optstring[0] == ':' ? ':' : '?'; in _getopt_internal()
957 if (optstring[0] == ':') in _getopt_internal()
974 getopt (int argc, char *const *argv, const char *optstring) in getopt() argument
976 return _getopt_internal (argc, argv, optstring, in getopt()