getopt_long.h
来自「PostgreSQL 8.2中增加了很多企业用户所需要的功能和性能上的提高,其开」· C头文件 代码 · 共 47 行
H
47 行
/* * Portions Copyright (c) 1987, 1993, 1994 * The Regents of the University of California. All rights reserved. * * Portions Copyright (c) 2003-2006, PostgreSQL Global Development Group * * $PostgreSQL: pgsql/src/include/getopt_long.h,v 1.7 2006/03/05 15:58:53 momjian Exp $ */#ifndef GETOPT_LONG_H#define GETOPT_LONG_H#ifdef HAVE_GETOPT_H#include <getopt.h>#endif/* These are picked up from the system's getopt() facility. */extern int opterr;extern int optind;extern int optopt;extern char *optarg;/* Some systems have this, otherwise you need to define it somewhere. */extern int optreset;#ifndef HAVE_STRUCT_OPTIONstruct option{ const char *name; int has_arg; int *flag; int val;};#define no_argument 0#define required_argument 1#endif#ifndef HAVE_GETOPT_LONGextern int getopt_long(int argc, char *const argv[], const char *optstring, const struct option * longopts, int *longindex);#endif#endif /* GETOPT_LONG_H */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?