- Main Page
- Data Structures
- Files
- Related Pages

# getopt_long.h

Go to the documentation of this file.

    00001
    00009 /* AUTORIGHTS */
    00010
    00011 #ifndef VL_GETOPT_LONG_H
    00012 #define VL_GETOPT_LONG_H
    00013
    00014 extern int    opterr ;
    00015 extern int    optind ;
    00016 extern int    optopt ;
    00017 extern char * optarg ;
    00018 extern int    optreset;
    00021 struct option
    00022 {
    00023   const char *name ;
    00024   int         has_arg ;
    00025   int        *flag ;
    00026   int         val ;
    00027 } ;
    00028
    00029 #define no_argument       0
    00030 #define required_argument 1
    00031 #define optional_argument 2
    00033 extern int getopt_long(int argc, char *const argv[],
    00034                         const char *optstring,
    00035                         const struct option * longopts, int *longindex);
    00036
    00037 /* VL_GETOPT_LONG_H */
    00038 #endif
    00039