librtlsdr
librtlsdr copied to clipboard
output ppm to stderr to avoid flushing stdout buffer
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