OmniEvents
getopt.cc File Reference
#include "getopt.h"
#include <errno.h>
#include <stdio.h>
#include <string.h>
Include dependency graph for getopt.cc:

Go to the source code of this file.

Functions

int getopt (int argc, char *argv[], const char *optionS)
 

Variables

static char * letP =NULL
 
static char SW ='-'
 
int optind = 1
 
char * optarg
 
int opterr = 1
 

Function Documentation

◆ getopt()

int getopt ( int  argc,
char *  argv[],
const char *  optionS 
)

Definition at line 88 of file getopt.cc.

References letP, optarg, opterr, optind, and SW.

Referenced by main().

Variable Documentation

◆ letP

char* letP =NULL
static

Definition at line 74 of file getopt.cc.

Referenced by getopt().

◆ optarg

char* optarg

Definition at line 83 of file getopt.cc.

Referenced by getopt(), and main().

◆ opterr

int opterr = 1

Definition at line 84 of file getopt.cc.

Referenced by getopt().

◆ optind

int optind = 1

Definition at line 82 of file getopt.cc.

Referenced by getopt(), and main().

◆ SW

char SW ='-'
static

Definition at line 76 of file getopt.cc.

Referenced by getopt().