getopt.h
Go to the documentation of this file.
1 /*
2 POSIX getopt for Windows
3 
4 AT&T Public License
5 
6 Code given out at the 1985 UNIFORUM conference in Dallas.
7 
8 Signficant updates:
9  2014-12-12: Updated to use CRL_HAVE_GETOPT preprocessor definition
10 */
11 
12 #ifdef CRL_HAVE_GETOPT
13 #include <getopt.h>
14 #else
15 
16 #ifndef GETOPT_H_B9B6A349_4F17_4D0B_BBBC_F347117B4E27
17 #define GETOPT_H_B9B6A349_4F17_4D0B_BBBC_F347117B4E27
18 
19 #ifdef __cplusplus
20 extern "C"
21 {
22 #endif
23 
24 extern int opterr;
25 extern int optind;
26 extern int optopt;
27 extern char* optarg;
28 
29 extern int getopt (int argc, char** argv, char* opts);
30 
31 #ifdef __cplusplus
32 }
33 #endif
34 
35 #endif // GETOPT_H_B9B6A349_4F17_4D0B_BBBC_F347117B4E27
36 
37 #endif // CRL_HAVE_GETOPT
int getopt(int argc, char **argv, char *opts)
Definition: getopt.c:34
int optopt
Definition: getopt.c:31
char * optarg
Definition: getopt.c:32
int optind
Definition: getopt.c:30
int opterr
Definition: getopt.c:29


multisense_lib
Author(s):
autogenerated on Sat Apr 6 2019 02:16:46