Exodus 7.10

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

## Functions
int | ex_close (int exoid)

## Function Documentation

## ◆ ex_close()

int ex_close | ( | int | exoid | ) |

The function ex_close() updates and then closes an open exodus file.

Returns
  In case of an error, ex_close() returns a negative number; a warning will return a positive number. Possible causes of errors include:
  - data file not properly opened with call to ex_create() or ex_open()

Parameters

  exoid | exodus file ID returned from a previous call to ex_create() or ex_open().

The following code segment closes an open exodus file:

int error,exoid;
error = ex_close (exoid);