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 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPartTM-000-24f84aff-dba8-4a41-b3c1-ae546f7b6cf0" X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3 Subject: using select for named pipes Date: Mon, 16 Dec 2002 17:51:48 +0530 Message-ID: <244C47F17E976A4295ACA0F43FE4A48E2EE337@blr-ec-msg01.wipro.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "Harshavardhana Adiga" To: X-OriginalArrivalTime: 16 Dec 2002 12:21:47.0878 (UTC) FILETIME=[B4527860:01C2A4FD] ------=_NextPartTM-000-24f84aff-dba8-4a41-b3c1-ae546f7b6cf0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C2A4FD.B49575EF" ------_=_NextPart_001_01C2A4FD.B49575EF Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 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 descriptor? 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? =20 Alternatly,is there any way in which i can implement named pipes in cygwin(like fifo's)? ------_=_NextPart_001_01C2A4FD.B49575EF Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Message
Hi,
I am = new to cygwin.I=20 am creating a windows named pipe using the normal windows=20 api.
In the = cygwin=20 documetation it is said that select call works for file = descriptors,handles=20 etc.Can I able to pass this handle directly to a select=20 call?
if no = can I use=20 cygwin_attach_handle_to_fd() provided by cygwin to convert it to a file=20 descriptor?
If yes = what is the=20 first parameter i need to pass to this method?
Further can i be=20 able to use the descriptor returned by this method in a select=20 call?
 
Alternatly,is there=20 any way in which i can implement named pipes in cygwin(like=20 fifo's)?
------_=_NextPart_001_01C2A4FD.B49575EF-- ------=_NextPartTM-000-24f84aff-dba8-4a41-b3c1-ae546f7b6cf0 Content-Type: text/plain; name="InterScan_Disclaimer.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="InterScan_Disclaimer.txt" **************************Disclaimer************************************************** Information contained in this E-MAIL being proprietary to Wipro Limited is 'privileged' and 'confidential' and intended for use only by the individual or entity to which it is addressed. You are notified that any use, copying or dissemination of the information contained in the E-MAIL in any manner whatsoever is strictly prohibited. **************************************************************************************** ------=_NextPartTM-000-24f84aff-dba8-4a41-b3c1-ae546f7b6cf0 Content-Type: text/plain; charset=us-ascii -- 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/ ------=_NextPartTM-000-24f84aff-dba8-4a41-b3c1-ae546f7b6cf0--