open_osfhandle() ?

Allen Leung allen.leung@aleri.com
Fri Dec 13 10:20:00 GMT 2002


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/



More information about the Cygwin mailing list