So you mean just return -EAGAIN in case write returns with -EAGAIN?

Yeah, makes sense.

Yes.

Note that for EINTR you want re-enter write() through so callers don't have to worry about signals.

cheers,
  Gerd


Reply via email to