ardour
Macros | Functions | Variables
getopt.c File Reference
#include "getopt.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

Go to the source code of this file.

Macros

#define BADCH   (int)'?'
 
#define BADARG   (int)':'
 
#define EMSG   ""
 

Functions

int getopt (int nargc, char *const *nargv, const char *ostr)
 

Variables

__BEGIN_DECLS GETOPT_API int opterr = 1
 
GETOPT_API int optind = 1
 
GETOPT_API int optopt
 
GETOPT_API int optreset
 
GETOPT_API char * optarg
 

Macro Definition Documentation

#define BADARG   (int)':'

Definition at line 43 of file getopt.c.

#define BADCH   (int)'?'

Definition at line 42 of file getopt.c.

#define EMSG   ""

Definition at line 44 of file getopt.c.

Function Documentation

int getopt ( int  nargc,
char *const *  nargv,
const char *  ostr 
)

Definition at line 59 of file getopt.c.

Variable Documentation

GETOPT_API char* optarg

Definition at line 52 of file getopt.c.

__BEGIN_DECLS GETOPT_API int opterr = 1

Definition at line 48 of file getopt.c.

GETOPT_API int optind = 1

Definition at line 49 of file getopt.c.

GETOPT_API int optopt

Definition at line 50 of file getopt.c.

GETOPT_API int optreset

Definition at line 51 of file getopt.c.