Skip to content

output ppm to stderr to avoid flushing stdout buffer#43

Open
dernasherbrezon wants to merge 2 commits into
steve-m:masterfrom
dernasherbrezon:stderr
Open

output ppm to stderr to avoid flushing stdout buffer#43
dernasherbrezon wants to merge 2 commits into
steve-m:masterfrom
dernasherbrezon:stderr

Conversation

@dernasherbrezon

Copy link
Copy Markdown

Output to stdout is buffered. For interactive console it will be flushed
automatically after \n, for non-interactive it will be flushed only
after fflush(stdout). When calling rtl_test from external process it
unable to read ppm since output was to stdout and there was no fflush

Output to stdout is buffered. For interactive console it will be flushed
automatically after \n, for non-interactive it will be flushed only
after fflush(stdout). During calling rtl_test from external process it's
unable to read ppm since output was to stdout and there was no fflush
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant