3 ms·
I was referring to checking because "you should check" when you don't actually care enough to structure your program around not losing the data. It's easy to t
by dllthomas 4y ago
I was referring to checking because "you should check" when you don't actually care enough to structure your program around not losing the data. It's easy to to check and emit a diagnostic, it's harder to make sure you have collected the data you've written to a file descriptor and have something sensible to do with it if the close fails.