putchar + printf combined

Banit Agrawal banit@cse.iitkgp.ernet.in
Fri Sep 6 13:14:00 GMT 2002


I am getting some problems with printf + putchar combination
present in the same program. Is the same buffer(stdio) is used
properly in both the cases? 

If we do not give any printf statement in the program containing 
getchar() and putchar() function, it works fine. 

Independently both calls works fine.

Any pointers in this direction will be helpful.

Thanks & Regards,
Banit Agrawal

More information about the Newlib mailing list