Home | History | Annotate | Download | only in getopt

Lines Matching defs:option

8    version 2.1 of the License, or (at your option) any later version.
42 When `getopt' finds an option that takes an argument,
45 each non-option ARGV-element is returned here. */
56 non-option elements that the caller should itself scan.
68 /* Set to an option character which was unrecognized. */
75 of `struct option' terminated by an element containing a name which is
79 no_argument (or 0) if the option does not take an argument,
80 required_argument (or 1) if the option requires an argument,
81 optional_argument (or 2) if the option takes an optional argument.
84 to the value given in the field `val' when the option is found, but
85 left unchanged if the option is not found.
87 To have a long-named option do something other than set an `int' to
89 option's `flag' field to zero and its `val' field to a nonzero
90 value (the equivalent single-letter option character, if there is
94 struct option
108 /* Names for the values of the `has_arg' field of `struct option'. */
120 Return the option character from OPTS just read. Return -1 when
122 missing arguments, `optopt' is set to the option letter, and '?' is
125 The OPTS string is a list of characters which are recognized option
136 If OPTS begins with `--', then non-option arguments are treated as
137 arguments to the option '\0'. This behavior is specific to the GNU
152 const struct option *__longopts, int *__longind);
155 const struct option *__longopts, int *__longind);
160 const struct option *__longopts, int *__longind,