H5LTset_attribute_short
fn
herr_t H5LTset_attribute_short(hid_t loc_id, const char * obj_name,
const char * attr_name, const short * buffer, size_t size)Sets a short attribute.
Creates and writes an attribute containing short integer 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.