39# define __BEGIN_DECLS extern "C" {
50#define required_argument 1
51#define optional_argument 2
70 const struct option *,
int *);
72 const struct option *,
int *);
73int getopt(
int,
char *
const *,
const char *);
75#ifndef _GETOPT_DEFINED_
76#define _GETOPT_DEFINED_
78# if VSF_LINUX_USE_GETOPT == ENABLED && !defined(__VSF_APPLET__)
97# define getopt_ctx ((struct __getopt_lib_ctx_t *)vsf_linux_dynlib_ctx_get(&__getopt_long_mod))
98# define opterr (getopt_ctx->__opterr)
99# define optind (getopt_ctx->__optind)
100# define optopt (getopt_ctx->__optopt)
101# define optarg (getopt_ctx->__optarg)
102# define optreset (getopt_ctx->__optreset)
int getopt(int, char *const *, const char *)
#define __END_DECLS
Definition getopt.h:43
int getopt_long_only(int, char *const *, const char *, const struct option *, int *)
#define opterr
Definition getopt.h:98
#define __BEGIN_DECLS
Definition getopt.h:42
#define optarg
Definition getopt.h:101
#define optopt
Definition getopt.h:100
__BEGIN_DECLS int getopt_long(int, char *const *, const char *, const struct option *, int *)
#define optreset
Definition getopt.h:102
const vsf_linux_dynlib_mod_t __getopt_long_mod
#define optind
Definition getopt.h:99
int __posixly_correct
Definition getopt.h:94
char * __optarg
Definition getopt.h:83
int __optreset
Definition getopt.h:87
char * __place
Definition getopt.h:89
int __nonopt_end
Definition getopt.h:91
int __opterr
Definition getopt.h:84
struct __getopt_lib_ctx_t::@841 getopt_internal
int __optind
Definition getopt.h:85
int __nonopt_start
Definition getopt.h:90
int __optopt
Definition getopt.h:86
int val
Definition getopt.h:64
int has_arg
Definition getopt.h:60
int * flag
Definition getopt.h:62
const char * name
Definition getopt.h:55