delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1998/09/24/09:48:20

From: sos AT prospect DOT com DOT ru (Sergey Okhapkin)
Subject: RE: select() and EOF
24 Sep 1998 09:48:20 -0700 :
Message-ID: <01BDE7FB.9C70D610.cygnus.cygwin32.developers@sos>
To: "'cygwin32-developers AT cygnus DOT com'" <cygwin32-developers AT cygnus DOT com>,
"'Christopher Faylor'" <cgf AT cygnus DOT com>

Christopher Faylor wrote:
> Yup.  It looks like it.  I just tested this on Linux.  It should flag both an
> exception and a "read ready".
> 
> I'll make that change.
> 

Don't forget about pipes. When write end of pipe is closed PeekNamedPipe() fails with error set to ERROR_BROKEN_PIPE.

-- 
Sergey Okhapkin, http://www.lexa.ru/sos
Moscow, Russia


- Raw text -


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