Bill> Jeanette Pauline Middelink wrote:
>> I'm nt sure what the proper semantics for the read call are.
>> Shouldn't it at least be the same for all read's? pipe, tty,
>> fs, network, unix?
Bill> OK, I'll take a look at the pipe code as well. I would think
Bill> the read() behavior should be consistent across all devices,
Bill> but perhaps someone else will explain otherwise.
I just checked in the SUS 2 (at the Open Group's web site): a call to
read for 0 bytes 'will return zero and have no additional results'. I
would interpret that as forbidding blocking.
N.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu