H5LTset_attribute_long_long

fnherr_t H5LTset_attribute_long_long(hid_t loc_id, const char * obj_name, const char * attr_name, const long * buffer, size_t size)

Sets a long long attribute.

Creates and writes an attribute containing long long integer 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.