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, 16 Dec 2002 10:37:17 -0500 From: Christopher Faylor To: Harshavardhana Adiga Cc: cygwin AT cygwin DOT com Subject: Re: how to use cygwin_attach_handle_to_fd? Message-ID: <20021216153717.GA1109@redhat.com> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: Harshavardhana Adiga , cygwin AT cygwin DOT com References: <244C47F17E976A4295ACA0F43FE4A48E2EE2D1 AT blr-ec-msg01 DOT wipro DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <244C47F17E976A4295ACA0F43FE4A48E2EE2D1@blr-ec-msg01.wipro.com> User-Agent: Mutt/1.5.1i Please check out the project web page for links to available information and ports: http://cygwin.com/ . If you don't see what you need there, then the cygwin mailing list is the best place to make observations or get questions answered. Information on the mailing list is available at the project web page. For your convenience, I've reset the Reply-To: address to point to the cygwin mailing list. I've also Cc'ed this reply there. On Mon, Dec 16, 2002 at 02:52:03PM +0530, Harshavardhana Adiga wrote: >Hi, >I am new to cygwin.I am creating a windows named pipe using the normal >windows api. >In the cygwin documetation it is said that select call works for file >descriptors,handles etc.Can I able to pass this handle directly to a >select call? >if no can I use cygwin_attach_handle_to_fd() provided by cygwin to >convert it to a file descriptorthis? >If yes what is the first parameter i need to pass to this method? >Further can i be able to use the descriptor returned by this method in a >select call? > >Alternatly,is there any way in which i can implement named pipes in >cygwin(like fifo's)? -- 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/