H5LTset_attribute_uint

fnherr_t H5LTset_attribute_uint(hid_t loc_id, const char * obj_name, const char * attr_name, const uint * buffer, size_t size)

Sets an unsigned int attribute.

Creates and writes an attribute containing unsigned int values.

Parameters

loc_idLocation identifier
obj_nameName of the object to attach the attribute to
attr_nameName of the attribute
bufferBuffer containing the attribute data
sizeNumber of elements in the buffer

Returns

Non-negative on success, negative on failure.