delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
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 |
X-MimeOLE: | Produced By Microsoft Exchange V6.0.5762.3 |
Subject: | how to use cygwin_attach_handle_to_fd? |
Date: | Mon, 16 Dec 2002 15:53:08 +0530 |
Message-ID: | <244C47F17E976A4295ACA0F43FE4A48E2EE2F4@blr-ec-msg01.wipro.com> |
X-MS-Has-Attach: | |
X-MS-TNEF-Correlator: | |
From: | "Harshavardhana Adiga" <harshavardhana DOT adiga AT wipro DOT com> |
To: | <cygwin AT cygwin DOT com> |
X-OriginalArrivalTime: | 16 Dec 2002 10:23:08.0680 (UTC) FILETIME=[20F31080:01C2A4ED] |
------=_NextPartTM-000-07ff45be-dcd9-4bf1-9183-9daeb7370636 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C2A4ED.21016BB9" ------_=_NextPart_001_01C2A4ED.21016BB9 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_01C2A4ED.21016BB9 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Dus-ascii"> <TITLE>Message</TITLE> <META content=3D"MSHTML 5.50.4134.600" name=3DGENERATOR></HEAD> <BODY> <DIV><FONT face=3DArial size=3D2><SPAN=20 class=3D317460109-16122002>Hi,</SPAN></FONT></DIV> <DIV><FONT face=3DArial size=3D2><SPAN class=3D317460109-16122002>I am = new to cygwin.I=20 am creating a windows named pipe using the normal windows=20 api.</SPAN></FONT></DIV> <DIV><FONT face=3DArial size=3D2><SPAN class=3D317460109-16122002> <DIV><FONT face=3DArial size=3D2><SPAN class=3D317460109-16122002>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?</SPAN></FONT></DIV></SPAN></FONT></DIV> <DIV><FONT face=3DArial size=3D2><SPAN class=3D317460109-16122002>if no = can I use=20 cygwin_attach_handle_to_fd() provided by cygwin to convert it to a file=20 descriptor?</SPAN></FONT></DIV> <DIV><FONT face=3DArial size=3D2><SPAN class=3D317460109-16122002>If yes = what is the=20 first parameter i need to pass to this method?</SPAN></FONT></DIV> <DIV><FONT face=3DArial size=3D2><SPAN = class=3D317460109-16122002>Further can i be=20 able to use the descriptor returned by this method in a select=20 call?</SPAN></FONT></DIV> <DIV><FONT face=3DArial size=3D2><SPAN=20 class=3D317460109-16122002></SPAN></FONT> </DIV> <DIV><FONT face=3DArial size=3D2><SPAN = class=3D317460109-16122002>Alternatly,is there=20 any way in which i can implement named pipes in cygwin(like=20 fifo's)?</SPAN></FONT></DIV></BODY></HTML> ------_=_NextPart_001_01C2A4ED.21016BB9-- ------=_NextPartTM-000-07ff45be-dcd9-4bf1-9183-9daeb7370636 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-07ff45be-dcd9-4bf1-9183-9daeb7370636 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-07ff45be-dcd9-4bf1-9183-9daeb7370636--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |