Dear Binh:
Thank you very much for your quick response. I'm not sure though I
understand how this will help. Should I assume that if the file was
open as read-only, that this definitely means that the file is being
access by some other writing authority and thus it's incomplete?
Thanks.
All the best,
Sam
On 18.07.2015 17:17, Binh-Minh Ribler
wrote:
Hello Samer,
Is this function
https://www.hdfgroup.org/HDF5/doc/RM/RM_H5F.html#File-GetIntent
useful for your #2 issue?
Thanks,
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 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
|
_______________________________________________
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