#include <stdio.h>
#include "getopt.h"
Go to the source code of this file.
|
char * | getenv () |
|
int | _getopt_internal (int argc, char *const *argv, const char *optstring, const struct option *longopts, int *longind, int long_only) |
|
int | getopt (int argc, char *const *argv, const char *optstring) |
|
int | getopt_long (int argc, char *const *argv, const char *optstring, const struct option *longopts, int *longindex) |
|
int | getopt_long_only (int argc, char *const *argv, const char *optstring, const struct option *longopts, int *longindex) |
|
#define _ |
( |
|
msgid | ) |
(msgid) |
◆ _NO_PROTO
◆ const
◆ GETOPT_INTERFACE_VERSION
#define GETOPT_INTERFACE_VERSION 2 |
◆ NONOPTION_P
#define NONOPTION_P (argv[optind][0] != '-' || argv[optind][1] == '\0') |
◆ SWAP_FLAGS
#define SWAP_FLAGS |
( |
|
ch1, |
|
|
|
ch2 |
|
) |
| |
◆ anonymous enum
◆ _getopt_internal()
int _getopt_internal |
( |
int |
argc, |
|
|
char *const * |
argv, |
|
|
const char * |
optstring, |
|
|
const struct option * |
longopts, |
|
|
int * |
longind, |
|
|
int |
long_only |
|
) |
| |
◆ getenv()
◆ getopt()
int getopt |
( |
int |
argc, |
|
|
char *const * |
argv, |
|
|
const char * |
optstring |
|
) |
| |
◆ getopt_long()
int getopt_long |
( |
int |
argc, |
|
|
char *const * |
argv, |
|
|
const char * |
optstring, |
|
|
const struct option * |
longopts, |
|
|
int * |
longindex |
|
) |
| |
◆ getopt_long_only()
int getopt_long_only |
( |
int |
argc, |
|
|
char *const * |
argv, |
|
|
const char * |
optstring, |
|
|
const struct option * |
longopts, |
|
|
int * |
longindex |
|
) |
| |
◆ __getopt_initialized
int __getopt_initialized = 0 |
◆ optarg
◆ opterr
◆ optind
◆ optopt