Fwd: printf does not work

Freddie Chopin freddie_chopin@op.pl
Wed Oct 24 16:39:00 GMT 2012

Didn't you forgot about buffering? 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).


More information about the Newlib mailing list