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 17:29:06 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: open_osfhandle() ? Message-ID: <20021213172906.J19104@cygbert.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20021213111234 DOT A2995 AT aleri DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021213111234.A2995@aleri.com> User-Agent: Mutt/1.3.22.1i 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 -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT cygwin DOT 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/