This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: open_osfhandle() ?


On Fri, Dec 13, 2002 at 05:29:06PM +0100, Corinna Vinschen wrote:
> On Fri, Dec 13, 2002 at 11:12:34AM -0500, Allen Leung wrote:
> > Hi,
> > 
> >    The function open_osfhandle (or _open_osfhandle), 
> > which maps a windows HANDLE into a file descriptor, 
> > seems to be missing in Cygwin.  Is there a way to achieve the 
> > same effect?
> 
> #include <io.h>
> 
> return get_osfhandle();
> 
> Corinna
> 

Hi,

   Yes, get_osfhandle is there.  But I'm actually looking for open_osfhandle. 

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]