Signature:

      SUBROUTINE h5oget_comment_f(obj_id, comment,        &
            hdferr, bufsize)
        IMPLICIT NONE
        INTEGER(HID_T)   , INTENT(IN)            :: obj_id
        CHARACTER(LEN=*) , INTENT(OUT)           :: comment
        INTEGER          , INTENT(OUT)           :: hdferr
        INTEGER(HSSIZE_T), INTENT(OUT), OPTIONAL :: bufsize

Inputs:

      obj_id - Identifier for the target object.

Outputs:

      comment - The comment.
      hdferr  - Returns 0 if successful and -1 if fails.

Optional parameters:

      bufsize - Size of the comment buffer.