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: Mon, 11 Aug 2003 13:55:48 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: fd --> handle? Message-ID: <20030811115548.GB24303@cygbert.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i On Wed, Jul 30, 2003 at 04:03:44PM -0400, Sam Steingold wrote: > how do I convert a cygwin file descriptor (int) to an underlying win32 > HANDLE? > (i.e., reverse cygwin_attach_handle_to_fd()). #include HANDLE hdl = get_osfhandle (fd); 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 Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/