diff -r f45fd4cd3832 -r 34654679f262 doc/doxygen/html/TestMasterMicroMod_2getopt_8h-source.html --- a/doc/doxygen/html/TestMasterMicroMod_2getopt_8h-source.html Fri Jul 06 10:53:15 2007 +0200 +++ b/doc/doxygen/html/TestMasterMicroMod_2getopt_8h-source.html Mon Jul 16 08:56:03 2007 +0200 @@ -18,7 +18,7 @@
  • Globals
  • +examples » TestMasterMicroMod

    getopt.h

    Go to the documentation of this file.
    00001 /* from http://www.pwilson.net/getopt.html */
     00002 
     00003 /* getopt.h */
    @@ -50,7 +50,7 @@
     00029 #ifndef _GETOPT_H
     00030 
     00031 #ifndef __need_getopt
    -00032 # define _GETOPT_H 1
    +00032 # define _GETOPT_H 1
     00033 #endif
     00034 
     00035 /* If __GNU_LIBRARY__ is not already defined, either we are being used
    @@ -74,7 +74,7 @@
     00053    Also, when `ordering' is RETURN_IN_ORDER,
     00054    each non-option ARGV-element is returned here.  */
     00055 
    -00056 extern char *optarg;
    +00056 extern char *optarg;
     00057 
     00058 /* Index in ARGV of the next element to be scanned.
     00059    This is used for communication to and from the caller
    @@ -88,16 +88,16 @@
     00067    Otherwise, `optind' communicates from one call to the next
     00068    how much of ARGV has been scanned so far.  */
     00069 
    -00070 extern int optind;
    +00070 extern int optind;
     00071 
     00072 /* Callers store zero here to inhibit the error message `getopt' prints
     00073    for unrecognized options.  */
     00074 
    -00075 extern int opterr;
    +00075 extern int opterr;
     00076 
     00077 /* Set to an option character which was unrecognized.  */
     00078 
    -00079 extern int optopt;
    +00079 extern int optopt;
     00080 
     00081 #ifndef __need_getopt
     00082 /* Describe the long-named options requested by the application.
    @@ -124,22 +124,22 @@
     00103 struct option
     00104 {
     00105 # if (defined __STDC__ && __STDC__) || defined __cplusplus
    -00106   const char *name;
    +00106   const char *name;
     00107 # else
    -00108   char *name;
    +00108   char *name;
     00109 # endif
     00110   /* has_arg can't be an enum because some compilers complain about
     00111      type mismatches in all the code that assumes it is an int.  */
    -00112   int has_arg;
    -00113   int *flag;
    -00114   int val;
    +00112   int has_arg;
    +00113   int *flag;
    +00114   int val;
     00115 };
     00116 
     00117 /* Names for the values of the `has_arg' field of `struct option'.  */
     00118 
    -00119 # define no_argument            0
    -00120 # define required_argument      1
    -00121 # define optional_argument      2
    +00119 # define no_argument            0
    +00120 # define required_argument      1
    +00121 # define optional_argument      2
     00122 #endif  /* need getopt */
     00123 
     00124 
    @@ -172,32 +172,32 @@
     00151 /* Many other libraries have conflicting prototypes for getopt, with
     00152    differences in the consts, in stdlib.h.  To avoid compilation
     00153    errors, only prototype getopt for the GNU C library.  */
    -00154 extern int getopt (int ___argc, char *const *___argv, const char *__shortopts);
    +00154 extern int getopt (int ___argc, char *const *___argv, const char *__shortopts);
     00155 # else /* not __GNU_LIBRARY__ */
    -00156 extern int getopt ();
    +00156 extern int getopt ();
     00157 # endif /* __GNU_LIBRARY__ */
     00158 
     00159 # ifndef __need_getopt
    -00160 extern int getopt_long (int ___argc, char *const *___argv,
    +00160 extern int getopt_long (int ___argc, char *const *___argv,
     00161                         const char *__shortopts,
     00162                         const struct option *__longopts, int *__longind);
    -00163 extern int getopt_long_only (int ___argc, char *const *___argv,
    +00163 extern int getopt_long_only (int ___argc, char *const *___argv,
     00164                              const char *__shortopts,
     00165                              const struct option *__longopts, int *__longind);
     00166 
     00167 /* Internal only.  Users should not call this directly.  */
    -00168 extern int _getopt_internal (int ___argc, char *const *___argv,
    +00168 extern int _getopt_internal (int ___argc, char *const *___argv,
     00169                              const char *__shortopts,
     00170                              const struct option *__longopts, int *__longind,
     00171                              int __long_only);
     00172 # endif
     00173 #else /* not __STDC__ */
    -00174 extern int getopt ();
    +00174 extern int getopt ();
     00175 # ifndef __need_getopt
    -00176 extern int getopt_long ();
    -00177 extern int getopt_long_only ();
    +00176 extern int getopt_long ();
    +00177 extern int getopt_long_only ();
     00178 
    -00179 extern int _getopt_internal ();
    +00179 extern int _getopt_internal ();
     00180 # endif
     00181 #endif /* __STDC__ */
     00182 
    @@ -210,7 +210,7 @@
     00189 
     00190 #endif /* getopt.h */
     00191 
    -

    Generated on Fri Jun 8 08:51:39 2007 for CanFestival by  +
    Generated on Mon Jul 2 19:10:16 2007 for CanFestival by  doxygen 1.5.1