open_osfhandle() ?

Corinna Vinschen
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 Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                      
Red Hat, Inc.

Unsubscribe info:
Bug reporting:

More information about the Cygwin mailing list