SUBROUTINE h5oget_comment_by_name_f(loc_id, name, & comment, hdferr, bufsize, lapl_id) IMPLICIT NONE INTEGER(HID_T) , INTENT(IN) :: loc_id CHARACTER(LEN=*), INTENT(IN) :: name CHARACTER(LEN=*), INTENT(OUT) :: comment INTEGER , INTENT(OUT) :: hdferr INTEGER(SIZE_T) , INTENT(OUT), OPTIONAL :: bufsize INTEGER(HID_T) , INTENT(IN) , OPTIONAL :: lapl_id
Inputs:
loc_id - Identifier of a file, group, dataset, or named datatype. name - Name of the object whose comment is to be retrieved, specified as a path relative to loc_id.
Outputs:
comment - The comment. hdferr - Returns 0 if successful and -1 if fails.
Optional parameters:
bufsize - Size of the comment buffer.