H5Dopen2

fnhid_t H5Dopen2(hid_t loc_id, const char * name, hid_t dapl_id)

Opens an existing dataset.

Parameters

loc_idLocation identifier (file or group)
nameName of the dataset to open
dapl_idDataset access property list identifier, or H5P_DEFAULT

Returns

A dataset identifier on success, or H5I_INVALID_HID on failure.