Lines Matching defs:option
8 the Free Software Foundation; either version 2, or (at your option)
53 When `getopt' finds an option that takes an argument,
56 each non-option ARGV-element is returned here. */
67 non-option elements that the caller should itself scan.
79 /* Set to an option character which was unrecognized. */
86 of `struct option' terminated by an element containing a name which is
90 no_argument (or 0) if the option does not take an argument,
91 required_argument (or 1) if the option requires an argument,
92 optional_argument (or 2) if the option takes an optional argument.
95 to the value given in the field `val' when the option is found, but
96 left unchanged if the option is not found.
98 To have a long-named option do something other than set an `int' to
100 option's `flag' field to zero and its `val' field to a nonzero
101 value (the equivalent single-letter option character, if there is
105 struct option
115 /* Names for the values of the `has_arg' field of `struct option'. */
127 Return the option character from OPTS just read. Return -1 when
129 missing arguments, `optopt' is set to the option letter, and '?' is
132 The OPTS string is a list of characters which are recognized option
143 If OPTS begins with `--', then non-option arguments are treated as
144 arguments to the option '\0'. This behavior is specific to the GNU
160 const struct option *__longopts, int *__longind)
164 const struct option *__longopts, int *__longind)