Lingfeng Yang | 30fce14 | 2020-10-27 14:58:21 -0700 | [diff] [blame] | 1 | #ifndef GETOPT_H |
2 | #define GETOPT_H | ||||
3 | |||||
4 | #ifdef __cplusplus | ||||
5 | extern "C" { | ||||
6 | #endif | ||||
7 | |||||
8 | extern int optind; | ||||
9 | extern char* optarg; | ||||
10 | extern int optopt; | ||||
11 | |||||
12 | int getopt(int argc, char* const argv[], const char* ostr); | ||||
13 | |||||
14 | #ifdef __cplusplus | ||||
15 | } | ||||
16 | #endif | ||||
17 | |||||
18 | #endif // GETOPT_H |