delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/12/28/07:47:46

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <3868B0F4.5A30FC9B@ibm.net>
Date: Tue, 28 Dec 1999 07:45:40 -0500
From: John Fortin <fortinj AT ibm DOT net>
X-Sender: "John Fortin" <@smtp-gw01.ny.us.ibm.net> (Unverified)
X-Mailer: Mozilla 4.61 [en]C-gatewaynet (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
To: "cygwin AT sourceware DOT cygnus DOT com" <cygwin AT sourceware DOT cygnus DOT com>
Subject: Re: filedescriptors and sockets
References: <Pine DOT LNX DOT 4 DOT 10 DOT 9912281249160 DOT 327-100000 AT bono DOT reversers DOT net>

If you use -mno-cygwin, you "lose" the cygwin select() which handles
file descriptors in the unix way.  You end up with the windows version
of select() which only handles socket descriptors.


John

stefan wrote:
> 
> On Mon, 27 Dec 1999, Christopher Faylor wrote:
> 
> > Cygwin does not make a distinction between sockets and normal
> > file descriptors.  It's should work just like UNIX.
> 
> I compiled the program with the -mno-cygwin option. And there the select()
> statement return an error if there are "normal" filedescriptors (from a
> _pipe()) in the field.
> Why is this ?
> 
> stefan.
> 
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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