Searched refs:cur_option (Results 1 – 1 of 1) sorted by relevance
456 char *cur_option; in getopt_av() local471 cur_option = argv[optind_av]; in getopt_av()473 if (strcmp(cur_option, "--") == 0) { in getopt_av()478 if (cur_option[0] == '-' && strlen(cur_option) == 2) { in getopt_av()480 cur_option++; /* remove "-" */ in getopt_av()482 len = strcspn(cur_option, "="); in getopt_av()485 if (len == opts_av[i].longnm_len && strncmp(cur_option, in getopt_av()494 if (cur_option[len] == '=') { in getopt_av()495 optarg_av = &(cur_option[len+1]); in getopt_av()