H5G_SET_COMMENT sets the comment for the object specified by
comment. Any previously existing comment is overwritten.
loc_id can specify any object in the file.
name can be one of the following:
— The name of the object relative to
— An absolute name of the object, starting from
/, the file’s root group
— A dot (
loc_id fully specifies the object
comment is the empty string or a null pointer, the comment message is removed from the object.
Comments should be relatively short, null-terminated, ASCII strings.
Comments can be attached to any object that has an object header, e.g., datasets, groups, and named datatypes, but not symbolic links.