extern int getopt(int, char **, char *); extern int opterr; extern int optind; extern char *optarg;