gw-getopt.h
来自「mms client」· C头文件 代码 · 共 27 行
H
27 行
/* * gwlib/getopt.h - define a prototype for the getopt function * * Some systems have a <getopt.h> which defines the getopt stuff. On * those systems, we include that. On other systems, we provide our own * definitions. */#ifndef GWLIB_GETOPT_H#define GWLIB_GETOPT_H#if HAVE_GETOPT_H #include <getopt.h>#elif HAVE_GETOPT_IN_STDIO_H #include <stdio.h>#elif HAVE_GETOPT_IN_UNISTD_H #include <unistd.h>#else int getopt(int argc, char **argv, char *opts); extern int opterr; extern int optind; extern int optopt; extern char *optarg;#endif#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?