1 /* 2 * This header is for a function released into the public domain 3 * by AT&T in 1985. See the newsgroup posting: 4 * 5 * Newsgroups: mod.std.unix 6 * Subject: public domain AT&T getopt source 7 * Date: 3 Nov 85 19:34:15 GMT 8 */ 9 #ifndef _GETOPT_H_ 10 #define _GETOPT_H_ 11 12 extern int optarr; 13 extern int optind; 14 extern int optopt; 15 extern char* optarg; 16 17 int getopt(int argc, char **argv, char *opts); 18 19 #endif /* _GETOPT_H_ */ 20