This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/37785] printf without '\n' + sleep = problems with output buffer



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]