Last modified: 26 February 2014

Name: H5Oflush

Signature:
herr_t H5Oflush(hid_t object_id)

Purpose:
Flushes all buffers associated with an HDF5 object to disk.

Description:
H5Oflush 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.

Note:
HDF5 does not possess full control over buffering. H5Oflush 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.

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

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

Fortran Interface:
None

See Also:



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