H5Oset_comment_by_name

fnherr_t H5Oset_comment_by_name(hid_t loc_id, const char * name, const char * comment, hid_t lapl_id)

Sets a comment for an object by name.

Parameters

loc_idLocation identifier
nameObject name
commentComment string (null to remove comment)
lapl_idLink access property list identifier

Returns

Non-negative on success, negative on failure.