HomeSort by: relevance | last modified time | path
    Searched defs:longopt (Results 1 - 12 of 12) sorted by relevancy

  /src/tests/lib/libc/stdlib/
h_getopt_long.c 47 char *line, *eptr, *longopt, *ptr, *optstring = NULL, *result = NULL; local
95 } else if (strncmp(line, "longopt:", 8) == 0) {
97 errx(1, "longopt: without longopts at line %ld",
100 errx(1, "longopt: too many options at line %ld",
105 longopt = strsep(&ptr, ",");
106 if (longopt == NULL)
107 errx(1, "missing longopt at line %ld",
109 longopts[nlongopts].name = strdup(longopt);
112 longopt = strsep(&ptr, ",");
113 if (*longopt != '\0')
    [all...]
h_getopt_long.c 47 char *line, *eptr, *longopt, *ptr, *optstring = NULL, *result = NULL; local
95 } else if (strncmp(line, "longopt:", 8) == 0) {
97 errx(1, "longopt: without longopts at line %ld",
100 errx(1, "longopt: too many options at line %ld",
105 longopt = strsep(&ptr, ",");
106 if (longopt == NULL)
107 errx(1, "missing longopt at line %ld",
109 longopts[nlongopts].name = strdup(longopt);
112 longopt = strsep(&ptr, ",");
113 if (*longopt != '\0')
    [all...]
h_getopt_long.c 47 char *line, *eptr, *longopt, *ptr, *optstring = NULL, *result = NULL; local
95 } else if (strncmp(line, "longopt:", 8) == 0) {
97 errx(1, "longopt: without longopts at line %ld",
100 errx(1, "longopt: too many options at line %ld",
105 longopt = strsep(&ptr, ",");
106 if (longopt == NULL)
107 errx(1, "missing longopt at line %ld",
109 longopts[nlongopts].name = strdup(longopt);
112 longopt = strsep(&ptr, ",");
113 if (*longopt != '\0')
    [all...]
  /src/usr.bin/rusers/
rusers.c 62 static int longopt; variable
161 if (!longopt)
171 if (!longopt) {
218 if (!longopt)
289 longopt++;
rusers.c 62 static int longopt; variable
161 if (!longopt)
171 if (!longopt) {
218 if (!longopt)
289 longopt++;
rusers.c 62 static int longopt; variable
161 if (!longopt)
171 if (!longopt) {
218 if (!longopt)
289 longopt++;
  /src/usr.bin/mkdep/
mkdep.c 190 static struct option longopt[] = { variable in typeref:struct:option
244 ch = getopt_long(argc, argv, "aDdf:ioP:pqRs:v", longopt, NULL);
mkdep.c 190 static struct option longopt[] = { variable in typeref:struct:option
244 ch = getopt_long(argc, argv, "aDdf:ioP:pqRs:v", longopt, NULL);
mkdep.c 190 static struct option longopt[] = { variable in typeref:struct:option
244 ch = getopt_long(argc, argv, "aDdf:ioP:pqRs:v", longopt, NULL);
  /src/external/bsd/elftosb/dist/common/
options.cpp 407 LongOpt(void) const {
510 const char * longopt = LongOpt();
517 if (longopt) {
518 value = ::strchr(longopt, ' ');
519 longopt_len = (value) ? (value - longopt) : ::strlen(longopt);
533 longopt = NULLSTR;
536 (longopt || (optctrls & Options::NOGUESSING))) {
539 if (isNullOpt(optchar) && (longopt == NULL))
715 const char * longopt = optspec.LongOpt(); local
940 const char * longopt = optspec.LongOpt(); local
    [all...]
options.cpp 407 LongOpt(void) const {
510 const char * longopt = LongOpt();
517 if (longopt) {
518 value = ::strchr(longopt, ' ');
519 longopt_len = (value) ? (value - longopt) : ::strlen(longopt);
533 longopt = NULLSTR;
536 (longopt || (optctrls & Options::NOGUESSING))) {
539 if (isNullOpt(optchar) && (longopt == NULL))
715 const char * longopt = optspec.LongOpt(); local
940 const char * longopt = optspec.LongOpt(); local
    [all...]
options.cpp 407 LongOpt(void) const {
510 const char * longopt = LongOpt();
517 if (longopt) {
518 value = ::strchr(longopt, ' ');
519 longopt_len = (value) ? (value - longopt) : ::strlen(longopt);
533 longopt = NULLSTR;
536 (longopt || (optctrls & Options::NOGUESSING))) {
539 if (isNullOpt(optchar) && (longopt == NULL))
715 const char * longopt = optspec.LongOpt(); local
940 const char * longopt = optspec.LongOpt(); local
    [all...]

Completed in 93 milliseconds