libcdio-paranoia  10.2+0.94+2git
Macros | Functions
getopt1.c File Reference
#include "getopt.h"
#include "getopt_int.h"
#include <stdio.h>

Macros

#define GETOPT_INTERFACE_VERSION   2
 
#define NULL   0
 

Functions

int getopt_long (int argc, char *const *argv, const char *options, const struct option *long_options, int *opt_index)
 
int _getopt_long_r (int argc, char *const *argv, const char *options, const struct option *long_options, int *opt_index, struct _getopt_data *d)
 
int getopt_long_only (int argc, char *const *argv, const char *options, const struct option *long_options, int *opt_index)
 
int _getopt_long_only_r (int argc, char *const *argv, const char *options, const struct option *long_options, int *opt_index, struct _getopt_data *d)
 

Macro Definition Documentation

#define GETOPT_INTERFACE_VERSION   2
#define NULL   0

Function Documentation

int _getopt_long_only_r ( int  argc,
char *const *  argv,
const char *  options,
const struct option long_options,
int *  opt_index,
struct _getopt_data d 
)
int _getopt_long_r ( int  argc,
char *const *  argv,
const char *  options,
const struct option long_options,
int *  opt_index,
struct _getopt_data d 
)

References _getopt_internal_r().

int getopt_long ( int  argc,
char *const *  argv,
const char *  options,
const struct option long_options,
int *  opt_index 
)

References _getopt_internal().

Referenced by _getopt_long_only_r(), and main().

int getopt_long_only ( int  argc,
char *const *  argv,
const char *  options,
const struct option long_options,
int *  opt_index 
)

References _getopt_internal().