1 #ifndef GETOPT_H_INCLUDED 2 #define GETOPT_H_INCLUDED 3 4 /* RCS ID $Id: getopt.h,v 1.1.1.1 2001/04/12 18:06:46 ndwinton Exp $ */ 5 6 #ifdef __cplusplus 7 extern "C" { 8 #endif 9 10 extern char *optarg; 11 extern int optind; 12 extern int opterr; 13 extern int optopt; 14 extern int optreset; 15 16 extern int getopt(int nargc, char *const *nargv, const char *ostr); 17 18 #ifdef __cplusplus 19 } 20 #endif 21 22 #endif