otherwise returns a negative value.
H5close
fn
herr_t H5close()Flushes all data to disk, closes all open objects, and releases memory.
H5close 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.
Returns
Returns a non-negative value if successful;