Page tree

 

JAVA

FORTRAN

C++

C

 

Link

H5_CLOSE

Flushes all data to disk, closes all open objects, and cleans up memory

Procedure:

H5_CLOSE(void)

Signature:

herr_t H5close
(
    void
)

SUBROUTINE h5close_f(error)
    INTEGER, INTENT(OUT) :: error

Parameters:

None.

Description:

H5_CLOSE flushes all data to disk, closes all open HDF5 objects, 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.

For Fortran Developers:

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

Returns:

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

Example:

Example coming soon!

History:
Release    Change
1.8.8Fortran subroutine modified not to shutdown the HDF5 library.

--- Last Modified: April 10, 2018 | 01:37 PM