Exodus 7.10

Functions
ex_opts.c File Reference
`#include "exodusII.h"`
`#include "exodusII_int.h"`

## Functions
int | ex_opts (int options)

## Function Documentation

## ◆ ex_opts()

int ex_opts | ( | int | options | ) |

The function ex_opts() is used to set message reporting options.

Returns
  Returns previous value for the message reporting option.

Parameters

  [in] | options | Integer option value. Current options are shown in the table below.

EX_ABORT | Causes fatal errors to force program exit. (Default is false.)
EX_DEBUG | Causes certain messages to print for debug use. (Default is false.)
EX_VERBOSE | Causes all error messages to print when true, otherwise no error messages will print. (Default is false.)

Note
  Values may be OR'ed together to provide any combination of these capabilities.

For example, the following will cause all messages to print and will cause the program to exit upon receipt of fatal error:

#include "exodusII.h"
ex_opts(EX_ABORT|EX_VERBOSE);