H5DSwith_new_ref

fnherr_t H5DSwith_new_ref(hid_t did, hbool_t * with_new_ref)

Determines if new references are used for dimension scales.

This function checks whether the dimension scales in the file use the new-style references introduced in HDF5 1.12. New references provide improved functionality and are the preferred format.

Parameters

didDataset identifier
with_new_refOutput flag indicating if new references are used (non-zero if new references, zero if old references)

Returns

Non-negative on success, negative on failure.