librtlsdr icon indicating copy to clipboard operation
librtlsdr copied to clipboard

output ppm to stderr to avoid flushing stdout buffer

Open dernasherbrezon opened this issue 6 years ago • 0 comments

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

dernasherbrezon avatar Sep 23 '17 08:09 dernasherbrezon