#include <crtdefs.h>
Go to the source code of this file.
|
int | getopt (int nargc, char *const *nargv, const char *options) |
|
int | getopt_long (int nargc, char *const *nargv, const char *options, const struct option *long_options, int *idx) |
|
int | getopt_long_only (int nargc, char *const *nargv, const char *options, const struct option *long_options, int *idx) |
|
◆ option
Class Members |
int * |
flag |
|
int |
has_arg |
|
const char * |
name |
|
int |
val |
|
◆ __GETOPT_H__
DISCLAIMER This file has no copyright assigned and is placed in the Public Domain. This file is part of the mingw-w64 runtime package.
The mingw-w64 runtime package and its code is distributed in the hope that it will be useful but WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESSED OR IMPLIED ARE HEREBY DISCLAIMED. This includes but is not limited to warranties of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
◆ __GETOPT_LONG_H__
#define __GETOPT_LONG_H__ |
◆ HAVE_DECL_GETOPT
#define HAVE_DECL_GETOPT 1 |
◆ anonymous enum
Enumerator |
---|
no_argument | |
required_argument | |
optional_argument | |
◆ getopt()
int getopt |
( |
int |
nargc, |
|
|
char *const * |
nargv, |
|
|
const char * |
options |
|
) |
| |
◆ getopt_long()
int getopt_long |
( |
int |
nargc, |
|
|
char *const * |
nargv, |
|
|
const char * |
options, |
|
|
const struct option * |
long_options, |
|
|
int * |
idx |
|
) |
| |
◆ getopt_long_only()
int getopt_long_only |
( |
int |
nargc, |
|
|
char *const * |
nargv, |
|
|
const char * |
options, |
|
|
const struct option * |
long_options, |
|
|
int * |
idx |
|
) |
| |
◆ optarg
◆ opterr
◆ optind
◆ optopt