On (Tue) Apr 06 2010 [10:17:12], Gerd Hoffmann wrote: >> 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.
Yes, of course. Amit