mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-23 05:53:40 +00:00
20 lines
479 B
C
20 lines
479 B
C
#ifndef GETOPT_H
|
|
#define GETOPT_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
extern int opterr; /* if error message should be printed */
|
|
extern int optind; /* index into parent argv vector */
|
|
extern int optopt; /* character checked for validity */
|
|
extern int optreset; /* reset getopt */
|
|
extern char *optarg; /* argument associated with option */
|
|
|
|
int getopt(int nargc, char * const nargv[], const char *ostr);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif |