This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Printf / Fprintf

Hello,

What happens when i call:
(Keil compiler)
Printf
fprintf(stdout...)
fprintf(stderr...)

Which functions are called for the low level write??

putc / _sys_write ???

What are the arguments, 8000 to 8002?

Does all 3 "printf" call same _sys_write ?

I have added:
#pragma import(__use_no_semihosting_swi)
(is it enough this line is in the retarget.c?)

It seems the only one of above calls _sys_write is fprintf(stderr...) and of cause a file..

Please, is there any place to read these information as well?

Kasper

0