H5Gset_comment

fnherr_t H5Gset_comment(hid_t loc_id, const char * name, const char * comment)

Sets a comment on an object (deprecated).

Use H5Oset_comment instead.

Parameters

loc_idLocation identifier
nameName of the object
commentComment string, or null to remove the comment

Returns

Non-negative on success, negative on failure.