This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
read() returns errno == 1 ("Resource temporarily unavailable")
- To: cygwin at sources dot redhat dot com
- Subject: read() returns errno == 1 ("Resource temporarily unavailable")
- From: Jesper Eskilson <jojo at virtutech dot se>
- Date: 19 Jan 2001 17:25:02 +0100
- Organization: Virtutech AB
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@virtutech.se
Virtutech http://www.virtutech.se
-------------------------------------------------------------------------
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple