H5LTget_attribute_short

fnherr_t H5LTget_attribute_short(hid_t loc_id, const char * obj_name, const char * attr_name, short * data)

Gets a short attribute.

Reads an attribute containing short integer values.

Parameters

loc_idLocation identifier
obj_nameName of the object containing the attribute
attr_nameName of the attribute
dataBuffer to store the attribute data

Returns

Non-negative on success, negative on failure.