Codebase list sidguesser / 60b65b85-c1e2-41b3-aa9d-626ed8962044/main getopt / include / Getopt.h
60b65b85-c1e2-41b3-aa9d-626ed8962044/main

Tree @60b65b85-c1e2-41b3-aa9d-626ed8962044/main (Download .tar.gz)

Getopt.h @60b65b85-c1e2-41b3-aa9d-626ed8962044/mainraw · history · blame

#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