delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/12/16/07:27:42

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: 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" <harshavardhana DOT adiga AT wipro DOT com>
To: <cygwin AT cygwin DOT com>
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

<!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>&nbsp;</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_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--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019