summaryrefslogtreecommitdiffstats
path: root/fortran
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2024-03-09 17:06:10 (GMT)
committerGitHub <noreply@github.com>2024-03-09 17:06:10 (GMT)
commit0ea1d7280ba93039cad14faf7b0ed65da20ce563 (patch)
tree5cd59487a3270224e0aec98606a13cf22706cc26 /fortran
parentd4c84f8d0a60e6eedd7288116d203dccf24a0b3a (diff)
downloadhdf5-0ea1d7280ba93039cad14faf7b0ed65da20ce563.zip
hdf5-0ea1d7280ba93039cad14faf7b0ed65da20ce563.tar.gz
hdf5-0ea1d7280ba93039cad14faf7b0ed65da20ce563.tar.bz2
Clean up off_t usage (#4095)
* Add comments to C++ and Fortran API calls that use off_t * Remove noise casts for small integers
Diffstat (limited to 'fortran')
-rw-r--r--fortran/src/H5Pff.F908
1 files changed, 7 insertions, 1 deletions
diff --git a/fortran/src/H5Pff.F90 b/fortran/src/H5Pff.F90
index 516c34b..ab6765a 100644
--- a/fortran/src/H5Pff.F90
+++ b/fortran/src/H5Pff.F90
@@ -1615,6 +1615,9 @@ CONTAINS
!! \param bytes Size of the external file data.
!! \param hdferr \fortran_error
!!
+!! \note On Windows, off_t is typically a 32-bit signed long value, which
+!! limits the valid offset that can be set to 2 GiB.
+!!
!! See C API: @ref H5Pset_external()
!!
SUBROUTINE h5pset_external_f(prp_id, name, offset, bytes, hdferr)
@@ -1686,9 +1689,12 @@ CONTAINS
!! \param bytes Size of the external file data.
!! \param hdferr \fortran_error
!!
+!! \note On Windows, off_t is typically a 32-bit signed long value, which
+!! limits the valid offset that can be returned to 2 GiB.
+!!
!! See C API: @ref H5Pget_external()
!!
- SUBROUTINE h5pget_external_f(prp_id, idx, name_size, name, offset,bytes, hdferr)
+ SUBROUTINE h5pget_external_f(prp_id, idx, name_size, name, offset, bytes, hdferr)
IMPLICIT NONE
INTEGER(HID_T), INTENT(IN) :: prp_id
INTEGER, INTENT(IN) :: idx