csutil/getopt.h File Reference
Declarations for getopt. More...
|Describe the long-named options requested by the application. More...|
|Quirk: so that using the word 'option' in any doxygen comments doesn't create a link to getopt.h. |
|For communication from `getopt' to the caller. |
|Callers store zero here to inhibit the error message `getopt' prints for unrecognized options. |
|Index in ARGV of the next element to be scanned. |
|Set to an option character which was unrecognized. |
Declarations for getopt.
Definition in file getopt.h.
|#define option getopt_option|
For communication from `getopt' to the caller.
When `getopt' finds an option that takes an argument, the argument value is returned here. Also, when `ordering' is RETURN_IN_ORDER, each non-option ARGV-element is returned here.
Callers store zero here to inhibit the error message `getopt' prints for unrecognized options.
Index in ARGV of the next element to be scanned.
This is used for communication to and from the caller and for communication between successive calls to `getopt'.
On entry to `getopt', zero means this is the first call; initialize.
When `getopt' returns -1, this is the index of the first of the non-option elements that the caller should itself scan.
Otherwise, `optind' communicates from one call to the next how much of ARGV has been scanned so far.
Set to an option character which was unrecognized.
Generated for Crystal Space 2.1 by doxygen 1.6.1