Last modified: 25 October 2011
Name: H5close
Signature:
herr_t H5close(void)

Purpose:
Flushes all data to disk, closes all open identifiers, and cleans up memory.

Description:
H5close flushes all data to disk, closes all open HDF5 identifiers, and cleans up all memory used by the HDF5 library. This function is generally called when the application calls exit(), but may be called earlier in the event of an emergency shutdown or out of a desire to free all resources used by the HDF5 library.

When the HDF5 Library is employed in a Fortran90 application, h5close_f closes the HDF5 Fortran interface but does not shut down the HDF5 Library, leaving HDF5 available to other software that may require the resource. h5open_f and h5close_f are required calls in HDF5 Fortran applications.

Parameters:
None.

Returns:
Returns a non-negative value if successful; otherwise returns a negative value.

Fortran90 Interface: h5close_f

History:
Release     Change
1.8.8 Fortran subroutine updated modified so that it does not shut down the HDF5 Library.