extern char *optarg; extern int optind, opterr; int getopt (int argc, char **argv, const char *options);