Home
last modified time | relevance | path

Searched refs:optopt (Results 1 – 10 of 10) sorted by relevance

/Zephyr-latest/lib/posix/options/getopt/
Dgetopt.c56 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_DBG("illegal option -- %c", state->optopt); in getopt()
[all …]
Dgetopt_common.c21 int optopt; /* character checked for validity */ variable
29 .optopt = 0,
48 optopt = state->optopt; in z_getopt_global_state_update()
Dgetopt.h19 int optopt; /* character checked for validity */ member
35 extern int optopt;
Dgetopt_long.c252 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()
532 state->optopt = optchar;
544 state->optopt = optchar;
571 state->optopt = optchar;
/Zephyr-latest/samples/subsys/shell/shell_module/src/
Dmain.c139 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()
/Zephyr-latest/include/zephyr/posix/
Dunistd.h63 extern int opterr, optind, optopt;
/Zephyr-latest/lib/posix/options/
DKconfig.c_lib_ext9 Group, consisting of fnmatch(), getopt(), getsubopt(), optarg, opterr, optind, optopt,
/Zephyr-latest/lib/posix/shell/
Duname.c96 badarg = (char)state->optopt; in uname_cmd_handler()
/Zephyr-latest/subsys/net/l2/wifi/
Dwifi_shell.c845 PR_ERROR("Invalid option %c\n", state->optopt); in __wifi_args_to_params()
2080 PR_ERROR("Invalid option %c\n", state->optopt); in wifi_ap_config_args_to_params()
2882 PR_ERROR("Invalid option %c\n", state->optopt); in parse_dpp_args_auth_init()
2918 PR_ERROR("Invalid option %c\n", state->optopt); in parse_dpp_args_chirp()
2954 PR_ERROR("Invalid option %c\n", state->optopt); in parse_dpp_args_listen()
2999 PR_ERROR("Invalid option %c\n", state->optopt); in parse_dpp_args_btstrap_gen()
3057 PR_ERROR("Invalid option %c\n", state->optopt); in parse_dpp_args_set_config_param()
3340 PR_ERROR("Invalid option %c\n", state->optopt); in cmd_wifi_dpp_ap_auth_init()
/Zephyr-latest/doc/services/portability/posix/option_groups/
Dindex.rst92 optopt, yes