On Mon, 26 Sep 2011 19:15:08 -0400, Mehrdad <[email protected]> wrote:

On 9/26/2011 3:41 PM, Steven Schveighoffer wrote:
Probably -- let the OS close the handles instead of manually closing them :)

-Steve
I don't think that's a good idea because snn.lib likely does its own internal buffering of the data, which would be lost if the stream isn't closed.

That's what fflush is for.  The handles should simply be closed by the OS.

-Steve

Reply via email to