cfengine  3.15.4
About: CFEngine is a configuration management system for configuring and maintaining Unix-like computers (using an own high level policy language). Community version.
  Fossies Dox: cfengine-3.15.4.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

getopt.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  option
 

Macros

#define __GETOPT_H__   1
 
#define no_argument   0
 
#define required_argument   1
 
#define optional_argument   2
 

Functions

int getopt ()
 
int getopt_long ()
 
int getopt_long_only ()
 
int _getopt_internal ()
 

Variables

char * optarg
 
int optind
 
int opterr
 
int optopt
 

Macro Definition Documentation

◆ __GETOPT_H__

#define __GETOPT_H__   1

Definition at line 24 of file getopt.h.

◆ no_argument

#define no_argument   0

Definition at line 98 of file getopt.h.

◆ optional_argument

#define optional_argument   2

Definition at line 100 of file getopt.h.

◆ required_argument

#define required_argument   1

Definition at line 99 of file getopt.h.

Function Documentation

◆ _getopt_internal()

int _getopt_internal ( )

◆ getopt()

int getopt ( )

◆ getopt_long()

int getopt_long ( )

Referenced by CFNetGet(), CFNetParse(), CheckOpts(), and main().

◆ getopt_long_only()

int getopt_long_only ( )

Variable Documentation

◆ optarg

char* optarg
extern

Definition at line 87 of file getopt.c.

Referenced by _getopt_internal(), CFNetGet(), CFNetParse(), CheckOpts(), ConfigureBootstrap(), and main().

◆ opterr

int opterr
extern

Definition at line 116 of file getopt.c.

Referenced by _getopt_internal(), and main().

◆ optind

int optind
extern

◆ optopt

int optopt
extern

Definition at line 122 of file getopt.c.

Referenced by _getopt_internal(), and main().