H5Fget_intent

fnherr_t H5Fget_intent(hid_t file_id, uint * intent)

Retrieves the intent flags used to open the file.

Parameters

file_idFile identifier
intentPointer to receive the intent flags (H5F_ACC.RDONLY or H5F_ACC.RDWR)

Returns

Non-negative on success, negative on failure.