Forum archive
fflush(stdout) in pngout for Linux
- I'm using pngout for Linux and it is slow to update the status because printf() only automatically flushes the output when it sees '\n', not '\r'. Whenever I write a program that writes a line terminated with '\r', I always manually flush stdout.