[Hdf-forum] accessing low level file descriptor or handle
Raymond Lu
songyulu at hdfgroup.org
Wed Jan 6 17:21:33 EST 2010
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
>
>
More information about the Hdf-forum
mailing list