FidoNet Echomail Archive
aust_c_here

<<< Previous Index Next >>>

From: andrew clarke
To: Paul Edwards
Date: 1996-12-28 03:31:20
Subject: did you know?

21 Dec 96 12:12, Paul Edwards wrote to All:

 > Did you know that failing to check the return from fclose() is as bad 
 > as not checking the return code from fwrite()?

Possibly worse.  Calling setbuf(fp, NULL) causes file I/O to be unbuffered,
so not checking the return code from fclose() is probably not as bad
compared to doing the same on a buffered file. 

--- Msged/2 4.10 beta 2
 * Origin: Blizzard of Ozz, Melbourne, Australia (3:635/728.4{at}fidonet)
SEEN-BY: 50/99 620/243 623/630 632/360 635/544 728 640/201 820 670/218
SEEN-BY: 711/410 413 430 808 809 932 934 712/311 407 505 506 517 624 704 824
SEEN-BY: 712/841 713/317 714/906 800/1
@PATH: 635/728 50/99 712/624 711/808 934


<<< Previous Index Next >>>