Searched refs:optopt (Results 1 – 7 of 7) sorted by relevance
56 state->optopt = 0; in getopt_init()69 optopt = 0; in getopt_init()95 state->optopt = *state->place++; in getopt()96 if (state->optopt == '-' && *state->place == 0) { in getopt()103 if (state->optopt == 0) { in getopt()112 state->optopt = '-'; in getopt()115 state->optopt = *state->place++; in getopt()119 oli = strchr(ostr, state->optopt); in getopt()120 if (state->optopt == ':' || oli == NULL) { in getopt()125 LOG_ERR("illegal option -- %c", state->optopt); in getopt()[all …]
21 int optopt; /* character checked for validity */ variable29 .optopt = 0,48 optopt = state->optopt; in z_getopt_global_state_update()
252 state->optopt = 0; in parse_long_options()270 state->optopt = long_options[match].val; in parse_long_options()272 state->optopt = 0; in parse_long_options()308 state->optopt = long_options[match].val; in parse_long_options()310 state->optopt = 0; in parse_long_options()327 state->optopt = 0; in parse_long_options()531 state->optopt = optchar;543 state->optopt = optchar;570 state->optopt = optchar;
19 int optopt; /* character checked for validity */ member
139 if (state->optopt == 'c') { in cmd_demo_getopt_ts()142 state->optopt); in cmd_demo_getopt_ts()143 } else if (isprint(state->optopt) != 0) { in cmd_demo_getopt_ts()146 state->optopt); in cmd_demo_getopt_ts()150 state->optopt); in cmd_demo_getopt_ts()189 if (optopt == 'c') { in cmd_demo_getopt()192 optopt); in cmd_demo_getopt()193 } else if (isprint(optopt) != 0) { in cmd_demo_getopt()195 optopt); in cmd_demo_getopt()199 optopt); in cmd_demo_getopt()
51 extern int opterr, optind, optopt;
98 badarg = (char)state->optopt; in uname_cmd_handler()