libcdio-paranoia 10.2+2.0.0
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

◆ GETOPT_INTERFACE_VERSION

#define GETOPT_INTERFACE_VERSION   2

◆ NULL

Function Documentation

◆ _getopt_long_only_r()

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 )

References _getopt_internal_r().

◆ _getopt_long_r()

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().

◆ getopt_long()

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

References _getopt_internal().

Referenced by main().

◆ getopt_long_only()

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

References _getopt_internal().