extern int getopt(int argc, char **argv, char *opts); extern int optind; extern char *optarg;