H5Mget_count

fnherr_t H5Mget_count(hid_t map_id, hsize_t * count, hid_t mapl_id)

Gets the number of key-value pairs in a map.

Parameters

map_idMap identifier
countPointer to receive the number of key-value pairs
mapl_idMap access property list identifier, or H5P_DEFAULT

Returns

Non-negative on success, negative on failure.