IN: Identifier of the object ( dataset or group) to read the attribute from
const char *obj_name
IN: The name of the object that the attribute is attached to
const char *attr_name
IN: The attribute name
unsigned short *data
OUT: Buffer with data
Description:
H5LT_GET_ATTRIBUTE_USHORT reads an attribute namedattr_namethat is attached to the object specified by the nameobj_name.The HDF5 datatype of the attribute is H5T_NATIVE_USHORT.
Returns:
Returns a non-negative value if successful; otherwise returns a negative value.