greenplumn getopt_long 源码

  • 2022-08-18
  • 浏览 (435)

greenplumn getopt_long 代码

文件路径:/src/include/getopt_long.h

/*
 * Portions Copyright (c) 1987, 1993, 1994
 * The Regents of the University of California.  All rights reserved.
 *
 * Portions Copyright (c) 2003-2019, PostgreSQL Global Development Group
 *
 * src/include/getopt_long.h
 */
#ifndef GETOPT_LONG_H
#define GETOPT_LONG_H

#include "pg_getopt.h"

#ifndef HAVE_STRUCT_OPTION

struct option
{
	const char *name;
	int			has_arg;
	int		   *flag;
	int			val;
};

#define no_argument 0
#define required_argument 1
#define optional_argument 2
#endif

#ifndef HAVE_GETOPT_LONG

extern int	getopt_long(int argc, char *const argv[],
						const char *optstring,
						const struct option *longopts, int *longindex);
#endif

#endif							/* GETOPT_LONG_H */

相关信息

greenplumn 源码目录

相关文章

greenplumn c 源码

greenplumn fmgr 源码

greenplumn funcapi 源码

greenplumn getaddrinfo 源码

greenplumn miscadmin 源码

greenplumn pg_config_manual 源码

greenplumn pg_getopt 源码

greenplumn pg_trace 源码

greenplumn pgstat 源码

greenplumn pgtar 源码

0  赞