H5Oset_comment

fnherr_t H5Oset_comment(hid_t obj_id, const char * comment)

Sets a comment for an object.

Parameters

obj_idObject identifier
commentComment string (null to remove comment)

Returns

Non-negative on success, negative on failure.