H5Fget_intent
fn
herr_t H5Fget_intent(hid_t file_id, uint * intent)Retrieves the intent flags used to open the file.
Parameters
file_id | File identifier |
intent | Pointer to receive the intent flags (H5F_ACC.RDONLY or H5F_ACC.RDWR) |
Returns
Non-negative on success, negative on failure.