Hacker News new | ask | show | jobs
by cesarb 2804 days ago
The same way you would handle an error on fwrite() or fflush(). Any of them failing means that the data wasn't written correctly; what to do with that depends on the program.