comments on proposed uthread_write.c changes

Garrett Wollman wollman at khavrinen.lcs.mit.edu
Wed Sep 10 07:53:28 PDT 2003


<<On 10 Sep 2003 09:19:43 +0200, Kern Sibbald <kern at sibbald.com> said:

> Can you explain how you came to the conclusion that a non-zero
> write may not return zero?  Keep in mind that from the
> user's or my standpoint, we are talking about blocking
> writes.

That is not my conclusion.  My conclusion is that, if write() returns
zero, it must be a permanent condition; that is to say, when write()
returns zero it is not appropriate to retry, as one would do for a
partial write of non-zero length.

-GAWollman



More information about the freebsd-standards mailing list