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


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