Home arrow Support arrow Forums

Luminary Micro Forums

digkleppe

Expert Boarder
Click here to see the profile of this user

2008/06/29 14:39

Re:printf again

printf calls write calls writechar. I only call printf.
I think printf "thinks" it is writing to a disk or something, it calls write after buffering 1024 chars.

found work around:
call fflush(0) after printf
note:
using printf gives you 31 kb of code.

Dig

Post edited by: digkleppe, at: 2008/07/02 12:50

login or register to reply

      Topics Author Date
    thread link
printf again
digkleppe 2008/06/28 12:27
    thread link
thread linkthread link Re:printf again
cb1 2008/06/29 08:38
    thread link
thread linkthread linkthread link Re:printf again
digkleppe 2008/06/29 14:39