Lines Matching refs:optstr
207 #define generate_output(argv,argc,optstr,longopts) \ argument
208 generate_output(argv,argc,optstr)
210 static int generate_output(char **argv, int argc, const char *optstr, const struct option *longopts) in generate_output() argument
225 ? getopt_long_only(argc, argv, optstr, longopts, &longindex) in generate_output()
226 : getopt_long(argc, argv, optstr, longopts, &longindex) in generate_output()
229 int opt = getopt(argc, argv, optstr); in generate_output()
249 charptr = strchr(optstr, opt); in generate_output()
357 char *optstr = NULL; in getopt_main() local
389 opt = getopt32(argv, "+o:n:qQs:Tu", &optstr, &name, &s_arg); in getopt_main()
392 &optstr, &name, &s_arg, &l_arg); in getopt_main()
409 if (!optstr) { in getopt_main()
410 optstr = argv[++n]; in getopt_main()
411 if (!optstr) in getopt_main()
416 return generate_output(argv + n, argc - n, optstr, long_options); in getopt_main()