H5Aget_name_by_idx

fnssize_t H5Aget_name_by_idx(hid_t loc_id, const char * obj_name, int idx_type, int order, hsize_t n, char * name, size_t size, hid_t lapl_id)

Gets attribute name by index.

Parameters

loc_idLocation identifier
obj_nameName of the object
idx_typeIndex type (H5_INDEX)
orderIteration order (H5_ITER_ORDER)
nAttribute index
nameBuffer to receive the attribute name
sizeSize of the name buffer
lapl_idLink access property list identifier

Returns

The length of the attribute name on success, negative on failure.