Name: H5Tget_pad
Signature:
  herr_t `H5Tget_pad`( hid_t `dtype_id`, H5T_pad_t * `lsb`, H5T_pad_t * `msb` )
Purpose:
  Retrieves the padding type of the least and most-significant bit padding.
Description:
  `H5Tget_pad` retrieves the padding type of the least and most-significant bit padding. Valid types are:
  H5T_PAD_ZERO (`0`)
    Set background to zeros.
  H5T_PAD_ONE (`1`)
    Set background to ones.
  H5T_PAD_BACKGROUND (`2`)
    Leave background alone.
Parameters:

hid_t `dtype_id` | IN: Identifier of datatype to query.
H5T_pad_t * `lsb` | OUT: Pointer to location to return least-significant bit padding type.
H5T_pad_t * `msb` | OUT: Pointer to location to return most-significant bit padding type.

Returns:
  Returns a non-negative value if successful; otherwise returns a negative value.
Fortran90 Interface: h5tget_pad_f

      SUBROUTINE h5tget_pad_f(type_id, lsbpad, msbpad, hdferr)
        IMPLICIT NONE
        INTEGER(HID_T), INTENT(IN) :: type_id ! Datatype identifier
        INTEGER, INTENT(OUT) :: lsbpad        ! Padding type of the
                                              ! least significant bit
        INTEGER, INTENT(OUT) :: msbpad        ! Padding type of the
                                              ! most significant bit
                                              ! Possible values of
                                              ! padding type are:
                                              !    H5T_PAD_ZERO_F = 0
                                              !    H5T_PAD_ONE_F = 1
                                              !    H5T_PAD_BACKGROUND_F = 2
                                              !    H5T_PAD_ERROR_F = -1
                                              !    H5T_PAD_NPAD_F = 3
        INTEGER, INTENT(OUT) :: hdferr        ! Error code
      END SUBROUTINE h5tget_pad_f