extern int	opterr;
extern int	optind;
extern int	optopt;
extern char	*optarg;

int getopt(int, char **, char*);