Flushes all buffers associated with a committed datatype to disk.
herr_t H5Tflush(hid_t dtype_id)
IN: Identifier of the committed datatype to be flushed.
H5Tflushcauses all buffers associated with a committed datatype to be immediately flushed to disk without removing the data from the cache.
HDF5 does not possess full control over buffering.H5Tflushflushes 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 a non-negative value if successful; otherwise returns a negative value.