summaryrefslogtreecommitdiffstats
path: root/src/H5Ppublic.h
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2024-01-18 17:03:59 (GMT)
committerGitHub <noreply@github.com>2024-01-18 17:03:59 (GMT)
commitab11e076bf90ee2f59016bbbc4a781c9142f30b2 (patch)
tree4531f6cde46e3d3a9376ffebda318e8a76592062 /src/H5Ppublic.h
parent5ae4ecc1f20659b3abffcc4098a91e085173017b (diff)
downloadhdf5-ab11e076bf90ee2f59016bbbc4a781c9142f30b2.zip
hdf5-ab11e076bf90ee2f59016bbbc4a781c9142f30b2.tar.gz
hdf5-ab11e076bf90ee2f59016bbbc4a781c9142f30b2.tar.bz2
Replace off_t with HDoff_t internally (#3944)
off_t is a 32-bit signed value on Windows, so we should use HDoff_t (which is __int64 on Windows) internally instead. Also defines HDftell on Windows to be _ftelli64().
Diffstat (limited to 'src/H5Ppublic.h')
-rw-r--r--src/H5Ppublic.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/H5Ppublic.h b/src/H5Ppublic.h
index df0ede1..98b7c2f 100644
--- a/src/H5Ppublic.h
+++ b/src/H5Ppublic.h
@@ -6477,6 +6477,9 @@ H5_DLL herr_t H5Pset_dset_no_attrs_hint(hid_t dcpl_id, hbool_t minimize);
* when H5Dwrite() is called to write data to it, the library
* will create the file.
*
+ * \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.
+ *
* \since 1.0.0
*
*/