H5Oget_comment_by_name
fn
ssize_t H5Oget_comment_by_name(hid_t loc_id, const char * name,
char * comment, size_t bufsize, hid_t lapl_id)Gets the comment for an object by name.
Parameters
loc_id | Location identifier |
name | Object name |
comment | Buffer to receive the comment |
bufsize | Size of the comment buffer |
lapl_id | Link access property list identifier |
Returns
Length of comment on success, negative on failure.