Flush stdout buffer immediately

Enable immediately stdout flushing for better integration with
automated sdout parsing from external application.
This commit is contained in:
miks
2017-04-05 22:14:04 +03:00
parent c01bd3b4c2
commit f15abb02e0

3
main.c
View File

@@ -409,6 +409,9 @@ int main(int argc, char *argv[])
get_options(argc, argv);
// flush immediately
setbuf(stdout, NULL);
#if defined (__CYGWIN__)
//printf("Running under Cygwin\n");
#else