H5LT_set_attribute_string

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

Sets a string attribute.

Internal helper function that sets an attribute with string data.

Parameters

loc_idLocation identifier
obj_nameName of the object to attach attribute to
attr_nameName of the attribute
dataString data to write

Returns

Non-negative on success, negative on failure.