H5Aget_info_by_idx

fnherr_t H5Aget_info_by_idx(hid_t loc_id, const char * obj_name, int idx_type, int order, hsize_t n, H5A_info_t * ainfo, hid_t lapl_id)

Gets attribute information by index.

Parameters

loc_idLocation identifier
obj_nameName of the object
idx_typeIndex type (H5_INDEX)
orderIteration order (H5_ITER_ORDER)
nAttribute index
ainfoPointer to receive the attribute info
lapl_idLink access property list identifier

Returns

Non-negative on success, negative on failure.