diff options
Diffstat (limited to 'capstone/cstool/getopt.h')
-rw-r--r-- | capstone/cstool/getopt.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/capstone/cstool/getopt.h b/capstone/cstool/getopt.h new file mode 100644 index 000000000..bca36c172 --- /dev/null +++ b/capstone/cstool/getopt.h @@ -0,0 +1,14 @@ +#ifndef CSTOOL_GETOPT_H +#define CSTOOL_GETOPT_H + +// global +extern int opterr, /* if error message should be printed */ +optind, /* index into parent argv vector */ +optopt, /* character checked for validity */ +optreset; /* reset getopt */ + +extern const char *optarg; /* argument associated with option */ + +int getopt (int nargc, char *const nargv[], const char *ostr); + +#endif |