On Sun, 31 Jul 2011 11:51:19 EDT, Loganaden Velvindron wrote:

> Shouldn't we account for errors when fclose() is called?

Yes, since fclose() calls fflush() first which may do the equivalent
of fwrite().  You need to check the return value of fclose()
to make sure everything actually got written.

 - todd

Reply via email to