8
extern int opterr; /* if error message should be printed */
9
extern int optind; /* index into parent argv vector */
10
extern int optopt; /* character checked for validity */
11
extern int optreset; /* reset getopt */
12
extern char *optarg; /* argument associated with option */
23
#define required_argument 1
24
#define optional_argument 2
26
int getopt(int, char**, char*);
27
int getopt_long(int, char**, char*, struct option*, int*);
33
#endif /* __GETOPT_H__ */