Home | History | Annotate | Download | only in lib

Lines Matching defs:option

9    (at your option) any later version.
64 # undef option
75 # define option __GETOPT_ID (option)
132 When 'getopt' finds an option that takes an argument,
135 each non-option ARGV-element is returned here. */
146 non-option elements that the caller should itself scan.
158 /* Set to an option character which was unrecognized. */
165 of 'struct option' terminated by an element containing a name which is
169 no_argument (or 0) if the option does not take an argument,
170 required_argument (or 1) if the option requires an argument,
171 optional_argument (or 2) if the option takes an optional argument.
174 to the value given in the field 'val' when the option is found, but
175 left unchanged if the option is not found.
177 To have a long-named option do something other than set an 'int' to
179 option's 'flag' field to zero and its 'val' field to a nonzero
180 value (the equivalent single-letter option character, if there is
185 struct option
197 /* Names for the values of the 'has_arg' field of 'struct option'. */
209 Return the option character from OPTS just read. Return -1 when
211 missing arguments, 'optopt' is set to the option letter, and '?' is
214 The OPTS string is a list of characters which are recognized option
225 If OPTS begins with '-', then non-option arguments are treated as
226 arguments to the option '\1'. This behavior is specific to the GNU
236 const struct option *__longopts, int *__longind)
240 const struct option *__longopts, int *__longind)