Exodus  7.10
ex_close.c File Reference
#include "exodusII.h"
#include "exodusII_int.h"
#include "netcdf.h"
#include <stdio.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:
Parameters
exoidexodus file ID returned from a previous call to ex_create() or ex_open().

The following code segment closes an open exodus file:

error = ex_close (exoid);