Home | History | Annotate | Download | only in stdlib

Lines Matching defs:optstring

47 	char *line, *eptr, *longopt, *ptr, *optstring = NULL, *result = NULL;
59 if (strncmp(line, "optstring:", 10) == 0) {
60 if (optstring)
61 free(optstring);
62 optstring = strtok(&line[11], WS);
63 if (optstring == NULL)
64 errx(1, "missing optstring at line %ld",
66 optstring = strdup(optstring);
170 if (optstring == NULL)
171 errx(1, "result: without optstring");
178 while ((c = getopt_long(nargs, args, optstring,
183 ptr = strchr(optstring, c);