opterr

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

Data Type

Boolean

Description

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

Valid Values

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

For more information, see the following: