On Tue, 17 Mar 2015 11:35:33 +0100
"Roberto E. Vargas Caballero" <k0ga_AT_shike2.com> wrote:
Hey Roberto,
> It's a bit strange this fwrite, why don't you use putchar there?
Look again, we write 'off' bytes, not 1.
> and why you check the return value of fwrite, but not the return value of
> putchar or fputs?. I usually don't check the return value of write
> functions and at the end of the loop I do a call to ferror.
Calling ferror sounds like a nice idea. Let's take a look at it.
Cheers
FRIGN
--
FRIGN <dev_AT_frign.de>
Received on Tue Mar 17 2015 - 11:38:54 CET