[Hdf-forum] accessing low level file descriptor or handle
Mark Miller
miller86 at llnl.gov
Wed Jan 6 17:28:42 EST 2010
Awsome! Thanks much. I guess I should have RTFM but I'm in a bit of a
crunch for time.
Mark
On Wed, 2010-01-06 at 16:21 -0600, Raymond Lu wrote:
> 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.
> Hdf-forum at hdfgroup.org
> http://*mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
>
--
Mark C. Miller, Lawrence Livermore National Laboratory
================!!LLNL BUSINESS ONLY!!================
miller86 at llnl.gov urgent: miller86 at pager.llnl.gov
T:8-6 (925)-423-5901 M/W/Th:7-12,2-7 (530)-753-8511
More information about the Hdf-forum
mailing list