H5Tset_strpad

fnherr_t H5Tset_strpad(hid_t type_id, H5T_str_t strpad)

Sets the string padding method for a string datatype