Hello Samer,
Is this function https://www.hdfgroup.org/HDF5/doc/RM/RM_H5F.html#File-GetIntent useful for your #2 issue? Thanks, ?Binh-Minh ________________________________ From: Hdf-forum <[email protected]> on behalf of Samer Afach <[email protected]> Sent: Saturday, July 18, 2015 10:23 AM To: [email protected] Subject: [Hdf-forum] Integrity check in C++ Dear pros: I have two similar issues I would like to ask about, and I'd be grateful if you could help me: 1- How can I check HDF5 file integrity in C/C++ (I prefer low level C)? I know there's a software called h5check, but I need a function to do that, not a software. In my application, it's not an option to execute h5check from my system. 2- How can I do a quick check in C/C++ to see whether the file is being written/modified/open for write? I looked in this link<https://www.hdfgroup.org/HDF5/doc/H5.format.html#FileMetaData> which discusses metadata, but there doesn't seem to be a clear way through the C/C++ interface for me a to read the first two bits that give me that information. Could you please help with that with a simple example? All the best, Samer
_______________________________________________ Hdf-forum is for HDF software users discussion. [email protected] http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org Twitter: https://twitter.com/hdf5
