Lines Matching refs:optstring
384 _getopt_initialize (int argc, char *const *argv, const char *optstring) in _getopt_initialize() argument
398 if (optstring[0] == '-') in _getopt_initialize()
401 ++optstring; in _getopt_initialize()
403 else if (optstring[0] == '+') in _getopt_initialize()
406 ++optstring; in _getopt_initialize()
443 return optstring; in _getopt_initialize()
503 _getopt_internal (int argc, char *const *argv, const char *optstring, in _getopt_internal() argument
512 optstring = _getopt_initialize (argc, argv, optstring); in _getopt_internal()
622 || (long_only && (argv[optind][2] || !my_index (optstring, argv[optind][1]))))) in _getopt_internal()
713 return optstring[0] == ':' ? ':' : '?'; in _getopt_internal()
732 || my_index (optstring, *nextchar) == NULL) in _getopt_internal()
756 char *temp = my_index (optstring, c); in _getopt_internal()
805 if (optstring[0] == ':') in _getopt_internal()
885 return optstring[0] == ':' ? ':' : '?'; in _getopt_internal()
935 if (optstring[0] == ':') in _getopt_internal()
952 getopt (int argc, char *const *argv, const char *optstring) in getopt() argument
954 return _getopt_internal (argc, argv, optstring, in getopt()