delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/01/19/11:54:03

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
To: cygwin AT sources DOT redhat DOT com
Subject: read() returns errno == 1 ("Resource temporarily unavailable")
From: Jesper Eskilson <jojo AT virtutech DOT se>
Organization: Virtutech AB
Date: 19 Jan 2001 17:25:02 +0100
Message-ID: <u67snmf5x29.fsf@rachel.hq.vtech>
Lines: 17
User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.2 (Millennium)
MIME-Version: 1.0

Hi!

I'm having trouble reading from a file using read(). The symptoms are that
read() fails setting errno to 11 (EAGAIN). This should AFAIK only be
possible on O_NONBLOCK filedescriptors, whereas the file in question is not
opened in non-blocking mode.

Any hints? I saw a fix in Cygwin.dll 1.1.7 which looked related, but the
bug(?) is still there.

/Jesper
-- 
-------------------------------------------------------------------------
Jesper Eskilson                                         jojo AT virtutech DOT se
Virtutech                                         http://www.virtutech.se
-------------------------------------------------------------------------


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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