H5LTset_attribute_ushort
fn
herr_t H5LTset_attribute_ushort(hid_t loc_id, const char * obj_name,
const char * attr_name, const ushort * buffer, size_t size)Sets an unsigned short attribute.
Creates and writes an attribute containing unsigned short values.
Parameters
loc_id | Location identifier |
obj_name | Name of the object to attach the attribute to |
attr_name | Name of the attribute |
buffer | Buffer containing the attribute data |
size | Number of elements in the buffer |
Returns
Non-negative on success, negative on failure.