Change the flush logic for streams

Now stdout and stderr are always line buffered, and stdlog only
flushed on request.
This commit is contained in:
Andrea Mazzoleni 2015-02-03 18:29:11 +01:00
parent 80d51384ac
commit 798de7ca99
16 changed files with 40 additions and 20 deletions

View file

@ -48,6 +48,11 @@ void ferr(const char* format, ...) __attribute__((format(printf, 1, 2)));
*/
void flog(const char* format, ...) __attribute__((format(printf, 1, 2)));
/**
* Flush the log output.
*/
void fflush_log(void);
/**
* Tag message.
*