Signature:

      SUBROUTINE h5dread_f(dset_id, mem_type_id, buf, hdferr, &
                           mem_space_id, file_space_id, xfer_prp)
        INTEGER(HID_T), INTENT(IN)              :: dset_id
        INTEGER(HID_T), INTENT(IN)              :: mem_type_id
        TYPE(C_PTR)   , INTENT(INOUT)           :: buf
        INTEGER       , INTENT(OUT)             :: hdferr
        INTEGER(HID_T), INTENT(IN)   , OPTIONAL :: mem_space_id
        INTEGER(HID_T), INTENT(IN)   , OPTIONAL :: file_space_id
        INTEGER(HID_T), INTENT(IN)   , OPTIONAL :: xfer_prp

Inputs:

      dset_id       - Identifier of the dataset read from.
      mem_type_id   - Identifier of the memory datatype.

Outputs:

      buf           - Buffer to receive data read from file.
      hdferr        - Returns 0 if successful and -1 if fails

Optional parameters:

      mem_space_id  - Identifier of the memory dataspace.
      file_space_id - Identifier of the dataset's dataspace in the file.
      xfer_prp      - Identifier of a transfer property list for this I/O operation.