printf does not work
Christian Haake
chaake@mailbox.tu-berlin.de
Sat Oct 27 15:55:00 GMT 2012
On Oct 24, 2012, at 11:33 AM, Freddie Chopin <freddie_chopin@op.pl> wrote:
> Didn't you forgot about buffering?
Indeed, I did. That's really embarrassing :-/
It is working as expected now.
> Default stdout is linebuffered, so if the string you're generating does not end with '\n' it won't be pushed to write(). Disable buffering (with setbbuf() or something similar) or terminate your string with newline or just call fflush(stdout).
Thanks a lot. You made my day ;) I'll consider this for my future work.
>
> 4\/3!!
Chris
More information about the Newlib
mailing list