summaryrefslogtreecommitdiff
path: root/support/flatten/getopt.h
blob: 4761761368884cd56a591d5517bbe6a11079ecf5 (plain)
1
2
3
4
5
6
7
8
9
10
/* getopt.h   from Don Libes "Obfuscated C" (extended by PRW) */
#ifndef GETOPT_H
#define GETOPT_H
extern int getopt();
extern char *optarg;           /* current argv string */
extern int optind;             /* current argv index */
extern int optopt;             /* option character */
extern int opterr;             /* getopt prints errors if 1 */
#endif /* GETOPT_H */