Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 > > 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/