H5Tget_strpad
(
hid_t dtype_id
)
H5Tget_strpad
retrieves the type of padding used
for a string datatype.
The string padding type is set with
H5Tset_strpad
and valid settings are described in that entry.
hid_t dtype_id |
IN: Identifier of datatype to query. |
H5T_STR_ERROR
(-1).
SUBROUTINE h5tget_strpad_f(type_id, strpad, hdferr) IMPLICIT NONE INTEGER(HID_T), INTENT(IN) :: type_id ! Datatype identifier INTEGER, INTENT(OUT) :: strpad ! String padding method for a string datatype ! Possible values of padding type are: ! Pad with zeros (as C does): ! H5T_STR_NULLPAD_F(0) ! Pad with spaces (as FORTRAN does): ! H5T_STR_SPACEPAD_F(1) INTEGER, INTENT(OUT) :: hdferr ! Error code ! 0 on success and -1 on failure END SUBROUTINE h5tget_strpad_f