H5LTset_attribute_ulong

fnherr_t H5LTset_attribute_ulong(hid_t loc_id, const char * obj_name, const char * attr_name, const ulong * buffer, size_t size)

Sets an unsigned long attribute.

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