If count is zero, read() returns zero and has no other
results. If count is greater than SSIZE_MAX, the result
is unspecified.
However, on 2.1.78, read(2) waits for input, which it shouldn't do,
and in certain situations returns -1 with errno = EAGAIN.
Can anybody confirm this?
I am able to reproduce the bug but it is a lengthy process and not
suitable for this method of information conveyance.
-- Jon Nelson U of MN Housing and Res. Life Computing Supervisor nels0988@tc.umn.edu