diff -r 6787754b251b -r b6572d0336c3 doc/doxygen/html/TestMasterSlave_2getopt_8c.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/doc/doxygen/html/TestMasterSlave_2getopt_8c.html Mon Jun 04 17:59:50 2007 +0200 @@ -0,0 +1,522 @@ + + +CanFestival: examples/TestMasterSlave/getopt.c File Reference + + + + +
+
+
+
+

examples/TestMasterSlave/getopt.c File Reference

#include <stdio.h>
+#include "getopt.h"
+#include <strings.h>
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Defines

#define GETOPT_INTERFACE_VERSION   2
#define _(msgid)   (msgid)
#define SWAP_FLAGS(ch1, ch2)
#define NONOPTION_P   (argv[optind][0] != '-' || argv[optind][1] == '\0')

Enumerations

enum  { REQUIRE_ORDER, +PERMUTE, +RETURN_IN_ORDER + }

Functions

char * getenv ()
static char * my_index (char *str, int chr) const
static void exchange (char **argv)
static const char * _getopt_initialize (int argc, char *const *argv, const char *optstring)
int _getopt_internal (int argc, char *const *argv, const char *optstring, const struct option *longopts, int *longind, int long_only)
int getopt (int argc, char *const *argv, const char *optstring)

Variables

char * optarg
int optind = 1
int __getopt_initialized
static char * nextchar
int opterr = 1
int optopt = '?'
static enum { ... }  ordering
static char * posixly_correct
static int first_nonopt
static int last_nonopt
+

Define Documentation

+ +
+
+ + + + + + + + + +
#define _ (msgid   )    (msgid)
+
+
+ +

+ +

+

+ +

+
+ + + + +
#define GETOPT_INTERFACE_VERSION   2
+
+
+ +

+ +

+

+ +

+
+ + + + +
#define NONOPTION_P   (argv[optind][0] != '-' || argv[optind][1] == '\0')
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + + + + + +
#define SWAP_FLAGS (ch1,
ch2   ) 
+
+
+ +

+ +

+

+


Enumeration Type Documentation

+ +
+
+ + + + +
anonymous enum
+
+
+ +

+

Enumerator:
+ + + + +
REQUIRE_ORDER  +
PERMUTE  +
RETURN_IN_ORDER  +
+
+ +
+

+


Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
static const char* _getopt_initialize (int  argc,
char *const *  argv,
const char *  optstring 
) [static]
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
int _getopt_internal (int  argc,
char *const *  argv,
const char *  optstring,
const struct option longopts,
int *  longind,
int  long_only 
)
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + + +
static void exchange (char **  argv  )  [static]
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + +
char* getenv (  ) 
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + + + + + + + + + + + + + + + + + +
int getopt (int  argc,
char *const *  argv,
const char *  optstring 
)
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + + + + + + + + + + + +
static char* my_index (char *  str,
int  chr 
) const [static]
+
+
+ +

+ +

+

+


Variable Documentation

+ +
+
+ + + + +
int __getopt_initialized
+
+
+ +

+ +

+

+ +

+
+ + + + +
int first_nonopt [static]
+
+
+ +

+ +

+

+ +

+
+ + + + +
int last_nonopt [static]
+
+
+ +

+ +

+

+ +

+
+ + + + +
char* nextchar [static]
+
+
+ +

+ +

+

+ +

+
+ + + + +
char* optarg
+
+
+ +

+ +

+

+ +

+
+ + + + +
int opterr = 1
+
+
+ +

+ +

+

+ +

+
+ + + + +
int optind = 1
+
+
+ +

+ +

+

+ +

+
+ + + + +
int optopt = '?'
+
+
+ +

+ +

+

+ +

+
+ + + + +
enum { ... } ordering [static]
+
+
+ +

+ +

+

+ +

+
+ + + + +
char* posixly_correct [static]
+
+
+ +

+ +

+

+


Generated on Mon Jun 4 15:50:45 2007 for CanFestival by  + +doxygen 1.5.1
+ +