opterr

  • Version 3.5 and earlier: opterr variable not available.
  • Version 4.0 and later: opterr variable available.

Boolean

Used with the getopt functions. Determines whether to display errors from these functions.

true getopt function errors are displayed.
false getopt function errors are not displayed.
if (opterr == false) accept;

For more information, please see the following: