[Bug c/37785] printf without '\n' + sleep = problems with output buffer
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Oct 9 18:47:00 GMT 2008
------- Comment #2 from pinskia at gcc dot gnu dot org 2008-10-09 18:46 -------
FILEs only fushes its internal buffer when it encounters a newline or when done
explicitly. Do it explicitly, use fflush (stdout);.
Anyways this is not a compiler or a library issue.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37785
More information about the Gcc-bugs
mailing list