Page tree

 

JAVA

FORTRAN

C++

C

 

Link

H5O_FLUSH

Flushes all buffers associated with an HDF5 object to disk

Procedure:

H5O_FLUSH(object_id)

Signature:

herr_t H5Oflush(hid_t object_id)

Parameters:
hid_t object_id   IN: Identifier of the object to be flushed

Description:

H5O_FLUSH causes all buffers associated with an object to be immediately flushed to disk without removing the data from the cache.

object_id can be any named object associated with an HDF5 file including a dataset, a group, or a committed datatype.

HDF5 does not possess full control over buffering. H5O_FLUSH flushes the internal HDF5 buffers and then asks the operating system (the OS) to flush the system buffers for the open files. After that, the OS is responsible for ensuring that the data is actually flushed to disk.

Returns:

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

Example:

Coming Soon!

History:
Release    Change
1.10.0C function introduced with this release.

--- Last Modified: May 07, 2018 | 03:37 PM