1 /* Interface to getopt_long_onlyx() */
4 enum argreq {no_argument, required_argument, optional_argument};
7 /* This describes an option. If the field `flag' is nonzero, it
8 points to a variable that is to be set to the value given in
9 the field `val' when the option is found, but left unchanged if
10 the option is not found.
18 /* long_options[] is a list terminated by an element that contains
22 getopt_long_onlyx(int const argc,
24 const char * const options,
25 struct optionx * const long_options,
26 unsigned int * const opt_index,
28 int * const end_of_options,
29 const char ** const optarg_arg,
30 const char ** const unrecognized_option);
33 getopt_argstart(void);
36 Copyright (C) 1989 Free Software Foundation, Inc.
38 This program is free software; you can redistribute it and/or modify
39 it under the terms of the GNU General Public License as published by
40 the Free Software Foundation; either version 1, or (at your option)
43 This program is distributed in the hope that it will be useful,
44 but WITHOUT ANY WARRANTY; without even the implied warranty of
45 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
46 GNU General Public License for more details.
48 You should have received a copy of the GNU General Public License
49 along with this program; if not, write to the Free Software
50 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */