Quote:
|
Originally Posted by deltacoder1020
tsk tsk IFI... this is something you think they would put into the docs... (and if I missed it, oh well, i was speedreading :S)
|
It all depended on where you looked.
printf_lib.c header:
Code:
* 3. The %s directive only supports a string of 40 bytes and the format string
* may not exceed 80 bytes.
The first time we tried to printf a "long" convinced us to toss printf_lib and write our own. Ours took up 40 bytes and worked better, printf_lib took up 4000 bytes. I know many other teams did the same, or rewrote the original printf_lib.