read() returns errno == 1 ("Resource temporarily unavailable")

Christopher Faylor cgf@redhat.com
Fri Jan 19 11:33:00 GMT 2001


On Fri, Jan 19, 2001 at 07:52:18PM +0100, Jesper Eskilson wrote:
>Christopher Faylor <cygwin@cygwin.com> writes:
>
>> errno == 1 is not EAGAIN.  I assume that you mean errno == 11.
>
>Of course. My fingers slipped.
>
>> Looking at the code for _read, the only time this should be returned is if
>> you are using a non-blocking read.
>
>I'm fairly certain that I'm not.

Well, since I'm fairly certain that the code is pretty clear and since I
don't recall anyone else reporting this you're either going to have to
debug this yourself or provide a very simple test case.

cgf

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



More information about the Cygwin mailing list