Lines Matching +full:int +full:- +full:a
4 * SPDX-License-Identifier: Apache-2.0
17 int opterr; /* if error message should be printed */
18 int optind; /* index into parent argv vector */
19 int optopt; /* character checked for validity */
20 int optreset; /* reset getopt */
26 int nonopt_start;
27 int nonopt_end;
31 extern int optreset; /* reset getopt */
33 extern int opterr;
34 extern int optind;
35 extern int optopt;
48 int has_arg;
50 int *flag;
52 int val;
62 * @brief Parses the command-line arguments.
74 * @a struct z_option.
75 * @param[in] long_idx If long_idx is not NULL, it points to a variable
82 int getopt_long(int nargc, char *const *nargv,
84 int *idx);
87 * @brief Parses the command-line arguments.
90 * but '-' as well as "--" can indicate a long option. If an option that starts
91 * with '-' (not "--") doesn't match a long option, but does match a short
92 * option, it is parsed as a short option instead.
101 * @a struct option.
102 * @param[in] long_idx If long_idx is not NULL, it points to a variable
109 int getopt_long_only(int nargc, char *const *nargv,
111 int *idx);