Last modified: 31 May 2016

Name: H5Dflush

Signature:
herr_t H5Dflush(hid_t dataset_id)

Purpose:
Flushes all buffers associated with a dataset to disk.

Description:
H5Dflush causes all buffers associated with a dataset to be immediately flushed to disk without removing the data from the cache.

Note:
HDF5 does not possess full control over buffering. H5Dflush 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 dataset_id    IN: Identifier of the dataset 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.