H5Fflush causes all buffers associated with a file or object to be immediately flushed (written) to disk without removing the data from the (memory) cache.
After this call completes, the file (or object) is in a consistent state and all data written to date is assured to be permanent.
|object_id ||Identifier of object used to identify the file. object_id can be any object associated with the file, including the file itself, a dataset, a group, an attribute, or a named data type. |
|scope ||specifies the scope of the flushing action, in the case that the HDF-5 file is not a single physical file. |
Valid values are:
H5F_SCOPE_GLOBAL Flushes the entire virtual file.
H5F_SCOPE_LOCAL Flushes only the specified file.
- a non-negative value if successful
|HDF5LibraryException ||- Error from the HDF-5 Library. |