H5Oget_comment

fnssize_t H5Oget_comment(hid_t obj_id, char * comment, size_t bufsize) extern(C) @nogc nothrow

Gets the comment for an object.

Parameters

obj_idObject identifier
commentBuffer to receive the comment
bufsizeSize of the comment buffer

Returns

Length of comment on success, negative on failure.