H5LTget_attribute_ushort
fn
herr_t H5LTget_attribute_ushort(hid_t loc_id, const char * obj_name,
const char * attr_name, ushort * data)Gets an unsigned short attribute.
Reads an attribute containing unsigned short values.
Parameters
loc_id | Location identifier |
obj_name | Name of the object containing the attribute |
attr_name | Name of the attribute |
data | Buffer to store the attribute data |
Returns
Non-negative on success, negative on failure.