delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Date: | Fri, 13 Dec 2002 11:53:25 -0500 |
From: | Allen Leung <allen DOT leung AT aleri DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: open_osfhandle() ? |
Message-ID: | <20021213115325.A4107@aleri.com> |
Reply-To: | allen DOT leung AT aleri DOT com |
References: | <20021213111234 DOT A2995 AT aleri DOT com> <20021213172906 DOT J19104 AT cygbert DOT vinschen DOT de> |
Mime-Version: | 1.0 |
User-Agent: | Mutt/1.2.5.1i |
In-Reply-To: | <20021213172906.J19104@cygbert.vinschen.de>; from corinna-cygwin@cygwin.com on Fri, Dec 13, 2002 at 05:29:06PM +0100 |
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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |