摘要:
man 3 getoptNAME getopt, getopt_long, getopt_long_only - Parse command-line options #include int getopt(int argc, char * const argv[], const char *optstring); extern char *optarg; extern int optind, opterr, optopt; #define _GNU_SOURCE The getopt() function parses the command-line arguments. Its arg. 阅读全文