ReactOS 0.4.15-dev-7953-g1f49173
getopt.h
Go to the documentation of this file.
1
2#ifndef GETOPT_H
3#define GETOPT_H
4
5#ifdef __cplusplus
6extern "C" {
7#endif
8
9extern int opterr; /* useless, never set or used */
10extern int optind; /* index into parent argv vector */
11extern int optopt; /* character checked for validity */
12extern char* optarg; /* argument associated with option */
13
14int getopt(int argc, char * const *argv, const char *optstring);
15
16#ifdef __cplusplus
17} /* end of extern "C" */
18#endif
19
20#endif /* GETOPT_H */
21
static int argc
Definition: ServiceArgs.c:12
int getopt(int nargc, char *const *nargv, const char *ostr)
Definition: getopt.c:55
const char * optarg
Definition: getopt.c:49
int optind
Definition: getopt.c:47
#define argv
Definition: mplay32.c:18
int optopt
Definition: getopt.c:48
int opterr
Definition: getopt.c:46