sensor_api
source
Utilities
portability
getopt
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
Significant updates:
9
2014-12-12: Updated to use CRL_HAVE_GETOPT preprocessor definition
10
*/
11
#ifndef GETOPT_H_B9B6A349_4F17_4D0B_BBBC_F347117B4E27
12
#define GETOPT_H_B9B6A349_4F17_4D0B_BBBC_F347117B4E27
13
14
#ifdef CRL_HAVE_GETOPT
15
#include <
getopt.h
>
16
#else
17
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
36
#endif // CRL_HAVE_GETOPT
37
38
#endif // GETOPT_H_B9B6A349_4F17_4D0B_BBBC_F347117B4E27
getopt.h
optind
int optind
Definition:
getopt.c:27
optarg
char * optarg
Definition:
getopt.c:29
optopt
int optopt
Definition:
getopt.c:28
opterr
int opterr
Definition:
getopt.c:26
getopt
int getopt(int argc, char **argv, char *opts)
Definition:
getopt.c:31
multisense_lib
Author(s):
autogenerated on Thu Apr 17 2025 02:49:08