VLC  2.1.0-git
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
getopt.c File Reference
Include dependency graph for getopt.c:

Macros

#define NONOPTION_P   (argv[state->ind][0] != '-' || argv[state->ind][1] == '\0')

Functions

static void exchange (char **argv, vlc_getopt_t *restrict state)
int vlc_getopt_long (int argc, char *const *argv, const char *optstring, const struct vlc_option *restrict longopts, int *longind, vlc_getopt_t *restrict state)

Macro Definition Documentation

#define NONOPTION_P   (argv[state->ind][0] != '-' || argv[state->ind][1] == '\0')

Referenced by vlc_getopt_long().

Function Documentation

static void exchange ( char **  argv,
vlc_getopt_t *restrict  state 
)
static

Referenced by vlc_getopt_long().

int vlc_getopt_long ( int  argc,
char *const *  argv,
const char *  optstring,
const struct vlc_option *restrict  longopts,
int *  longind,
vlc_getopt_t *restrict  state 
)