OptArg
Set to the argument of an option, if the option needs one.
OptErr
Indicates whether getopt() prints error messages.
OptInd
Index of the current paramstr().
OptOpt
In case of an error, contains the character causing the error.