mirror of https://github.com/tongzx/nt5src
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.
13 lines
330 B
13 lines
330 B
#ifndef _GETOPT_
|
|
#define _GETOPT_
|
|
|
|
int getopt(int argc, char **argv, char *optstring);
|
|
|
|
extern char *optarg; // returned arg to go with this option
|
|
extern int optind; // index to next argv element to process
|
|
extern int opterr; // should error messages be printed?
|
|
extern int optopt; //
|
|
|
|
#define BADCH ('?')
|
|
|
|
#endif // _GETOPT
|