[flashrom] [PATCH] Flush stdout after each message

Tadas Slotkus devtadas at gmail.com
Sun Jun 19 23:07:22 CEST 2011


> > The fflush() is most likely to work everywhere I think (but I haven't tested it).
> fflush just cares about the buffer in libc, not about any buffering in
> the OS (not that I am aware of that any OS buffers screen outputs,
> though). if you just care about the libc buffer, there is no problem
> with setvbuf, as this function is ANSI, and as it is just about when
> libc passes the data to the OS, perfectly portable. I remember having
> seen this function already in Turbo C 2.0 (And that is years before
> Turbo C++ 2.0)

Looks like it doesn't work with libpayload's c library.





More information about the flashrom mailing list