Lines Matching refs:optstring
393 _getopt_initialize (argc, argv, optstring) in _getopt_initialize() argument
396 const char *optstring;
410 if (optstring[0] == '-')
413 ++optstring;
415 else if (optstring[0] == '+')
418 ++optstring;
455 return optstring;
515 _getopt_internal (argc, argv, optstring, longopts, longind, long_only) in _getopt_internal() argument
518 const char *optstring;
529 optstring = _getopt_initialize (argc, argv, optstring);
639 || (long_only && (argv[optind][2] || !my_index (optstring, argv[optind][1])))))
731 return optstring[0] == ':' ? ':' : '?';
750 || my_index (optstring, *nextchar) == NULL)
774 char *temp = my_index (optstring, c);
823 if (optstring[0] == ':')
903 return optstring[0] == ':' ? ':' : '?';
953 if (optstring[0] == ':')
970 getopt (argc, argv, optstring) in getopt() argument
973 const char *optstring;
975 return _getopt_internal (argc, argv, optstring,