39# define __BEGIN_DECLS extern "C" {
50#define required_argument 1
51#define optional_argument 2
67#if VSF_LINUX_APPLET_USE_LIBGETOPT == ENABLED
80 const struct option *,
int *);
82 const struct option *,
int *);
83int getopt(
int,
char *
const *,
const char *);
85#ifndef _GETOPT_DEFINED_
86#define _GETOPT_DEFINED_
88# if VSF_LINUX_USE_GETOPT == ENABLED && !defined(__VSF_APPLET__)
107# define getopt_ctx ((struct __getopt_lib_ctx_t *)vsf_linux_dynlib_ctx_get(&__getopt_long_mod))
108# define opterr (getopt_ctx->__opterr)
109# define optind (getopt_ctx->__optind)
110# define optopt (getopt_ctx->__optopt)
111# define optarg (getopt_ctx->__optarg)
112# 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:108
#define __BEGIN_DECLS
Definition getopt.h:42
#define optarg
Definition getopt.h:111
#define optopt
Definition getopt.h:110
__BEGIN_DECLS int getopt_long(int, char *const *, const char *, const struct option *, int *)
struct vsf_linux_libgetopt_vplt_t vsf_linux_libgetopt_vplt_t
#define optreset
Definition getopt.h:112
const vsf_linux_dynlib_mod_t __getopt_long_mod
#define optind
Definition getopt.h:109
struct __getopt_lib_ctx_t::@1199 getopt_internal
int __posixly_correct
Definition getopt.h:104
char * __optarg
Definition getopt.h:93
int __optreset
Definition getopt.h:97
char * __place
Definition getopt.h:99
int __nonopt_end
Definition getopt.h:101
int __opterr
Definition getopt.h:94
int __optind
Definition getopt.h:95
int __nonopt_start
Definition getopt.h:100
int __optopt
Definition getopt.h:96
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
VSF_APPLET_VPLT_ENTRY_FUNC_DEF(getopt_long)
VSF_APPLET_VPLT_ENTRY_FUNC_DEF(getopt_long_only)
VSF_APPLET_VPLT_ENTRY_MOD_DEF(libgetopt)
vsf_vplt_info_t info
Definition getopt.h:69
VSF_APPLET_VPLT_ENTRY_FUNC_DEF(getopt)