aboutsummaryrefslogtreecommitdiffstats
path: root/capstone/cstool/getopt.h
blob: bca36c1726cde8dd03bd48d15274277f6b0f7c47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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