This is the mail archive of the
cygwin
mailing list for the Cygwin project.
converse of cygwin_attach_handle_to_fd()?
- From: Samuel Thibault <samuel dot thibault at ens-lyon dot org>
- To: cygwin at cygwin dot com
- Cc: dave at mielke dot cc
- Date: Sun, 4 Jun 2006 01:09:54 +0200
- Subject: converse of cygwin_attach_handle_to_fd()?
Hi,
cygwin_attach_handle_to_fd() lets create a cygwin fd on top of a windows
handle. When calling close() on the fd, the windows handle is closed
too. Is there any way to close the fd without closing the underlying
handle? (i.e. the converse of cygwin_attach_handle_to_fd(), actually)
The same question applies to mingw's open_osfhandle() actually.
Samuel
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/