> > When flush-behind is on, the flush/close is indeed done in the > background, but only after the last write has returned. Applications > will _not_ miss the error of previous writes in close(). If write() succeeds, is it not possible for flush() or close() to fail later? My understanding is you need to check for errors from both. For example, write() might just write to an in-memory buffer, then the disk might fill up before the change is flushed out. Thanks, Barry