H5Fopen

fnhid_t H5Fopen(const char * filename, uint flags, hid_t fapl_id)

Opens an existing HDF5 file.

Parameters

filenameName of the file to open
flagsFile access flags (H5F_ACC.RDONLY or H5F_ACC.RDWR)
fapl_idFile access property list identifier, or H5P_DEFAULT

Returns

A file identifier on success, or H5I_INVALID_HID on failure.