H5Fcreate
fn
hid_t H5Fcreate(const char * filename, uint flags, hid_t fcpl_id, hid_t fapl_id)Creates an HDF5 file.
Parameters
filename | Name of the file to create |
flags | File access flags (H5F_ACC.TRUNC, H5F_ACC.EXCL, etc.) |
fcpl_id | File creation property list identifier, or H5P_DEFAULT |
fapl_id | File access property list identifier, or H5P_DEFAULT |
Returns
A file identifier on success, or H5I_INVALID_HID on failure.