Free Electron
getopt.h
1 #ifndef GETOPT_H
2 #define GETOPT_H
3 
4 #ifndef _WIN32
5 
6 #include <unistd.h>
7 
8 #else /* _WIN32 */
9 
10 #ifdef __cplusplus
11 extern "C" {
12 #endif /* __cplusplus */
13 
14 extern char *optarg;
15 extern int optind, opterr, optopt, optreset;
16 
17 int getopt(int nargc, char * const nargv[], const char *ostr);
18 
19 #ifdef __cplusplus
20 }
21 #endif /* __cplusplus */
22 
23 #endif /* !_WIN32 */
24 
25 #endif /* !GETOPT_H */
26