1 | #ifndef GETOPT_H |
---|---|
2 | #define GETOPT_H |
3 | |
4 | #ifdef __cplusplus |
5 | extern "C"{ |
6 | #endif |
7 | |
8 | extern char *optarg; |
9 | |
10 | extern int optind; |
11 | extern int opterr; |
12 | extern int optopt; |
13 | |
14 | int getopt(int argc, char *const *argv, const char *opts); |
15 | |
16 | #ifdef __cplusplus |
17 | } |
18 | #endif |
19 | |
20 | #endif /* GETOPT_H */ |
21 |