Page tree

 

JAVA

FORTRAN

C++

C

 

Link

H5D_FLUSH

Flushes all buffers associated with a dataset to disk

Procedure:

H5D_FLUSH(dataset_id)

Signature:

herr_t H5Dflush(hid_t dataset_id)

Parameters:
hid_t dataset_id   IN: Identifier of the dataset to be flushed

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

HDF5 does not possess full control over buffering.  H5D_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: April 10, 2018 | 03:51 PM