RetroArch
|
#include <stdio.h>
#include <ctype.h>
#include <string.h>
#include <boolean.h>
#include <stddef.h>
#include <stdlib.h>
#include <retro_miscellaneous.h>
#include <compat/getopt.h>
#include <compat/strl.h>
#include <compat/strcasestr.h>
#include <compat/posix_string.h>
#include <retro_assert.h>
Functions | |
static bool | is_short_option (const char *str) |
static bool | is_long_option (const char *str) |
static int | find_short_index (char *const *argv) |
static int | find_long_index (char *const *argv) |
static int | parse_short (const char *optstring, char *const *argv) |
static int | parse_long (const struct option *longopts, char *const *argv) |
static void | shuffle_block (char **begin, char **last, char **end) |
int | getopt_long (int argc, char *argv[], const char *optstring, const struct option *longopts, int *longindex) |
Variables | |
char * | optarg |
int | optind |
int | opterr |
int | optopt |
|
static |
|
static |
int getopt_long | ( | int | argc, |
char * | argv[], | ||
const char * | optstring, | ||
const struct option * | longopts, | ||
int * | longindex | ||
) |
|
static |
char* optarg |
int opterr |
int optind |
int optopt |