H5Gget_comment

fnint H5Gget_comment(hid_t loc_id, const char * name, size_t bufsize, char * buf)

Gets a comment on an object (deprecated).

Use H5Oget_comment instead.

Parameters

loc_idLocation identifier
nameName of the object
bufsizeSize of the comment buffer
bufBuffer to receive the comment

Returns

The number of characters in the comment on success, negative on failure.