#include <stdio.h>
#include "getopt.h"
Defines | |
#define | GETOPT_INTERFACE_VERSION 2 |
#define | _(msgid) (msgid) |
#define | NONOPTION_P (argv[optind][0] != '-' || argv[optind][1] == '\0') |
Enumerations | |
enum | { REQUIRE_ORDER, PERMUTE, RETURN_IN_ORDER } |
Functions | |
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) |
Variables | |
char * | optarg = NULL |
int | optind = 1 |
int | __getopt_initialized = 0 |
int | opterr = 1 |
int | optopt = '?' |
#define GETOPT_INTERFACE_VERSION 2 |
int _getopt_internal | ( | int | argc, | |
char *const * | argv, | |||
const char * | optstring, | |||
const struct option * | longopts, | |||
int * | longind, | |||
int | long_only | |||
) |
foo getenv | ( | ) |
char* optarg = NULL |