Mark,

There's an API function

/herr_t /|H5Fget_vfd_handle|(/hid_t/ |file_id|, /hid_t/ |fapl_id|, /void **/|file_handle| )

for this purpose.  You can find it in the v1.8 Reference Manual:

   http://www.hdfgroup.org/HDF5/doc/RM/RM_H5F.html#File-GetVfdHandle

Thanks.

Ray

Mark Miller wrote:
Hi All,

H5FOpen returns an opaque hid_t for the file. What if I need to get in
there and fiddle with the file properties via fcntl interface? Is there
any way for me to get access to the underlying stream or file
descriptor? At this point, I don't really care if its 'nice' and
portable and proper. I just need a way to get at it for standard VFD's
such as SEC2 or STDIO.

Mark



_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

Reply via email to