open_osfhandle() ?

Corinna Vinschen corinna-cygwin@cygwin.com
Fri Dec 13 09:06:00 GMT 2002


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

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
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