You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
395 B

#ifndef KSTOOL_GETOPT_H
#define KSTOOL_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