No, it doesn't: http://www.cplusplus.com/ref/cstdio/fflush.html

So you'd be better off using
Code:
clearerr(stdout);
instead/as well.