/* All the headers include this file. */ #ifdef _WIN32 #include <crtdefs.h> #endif
#ifdef __cplusplus extern"C" { #endif
externint optind; /* index of first non-option in argv */ externint optopt; /* single option character, as parsed */ externint opterr; /* flag to enable built-in diagnostics... */ /* (user may set to zero, to suppress) */
externchar *optarg; /* pointer to argument of current option */
struct option /* specification for a long form option... */
{ constchar *name; /* option name, without leading hyphens */ int has_arg; /* does it take an argument? */ int *flag; /* where to save its status, or NULL */ int val; /* its associated status value */
};
enum/* permitted values for its `has_arg' field... */
{
no_argument = 0, /* option never takes an argument */
required_argument, /* option always requires an argument */
optional_argument /* option may take an argument */
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.