snprintf for HC12

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

snprintf for HC12

989 次查看
kfriedman
Contributor I

Hello,

 

New to the forum.  Using codewarrior 5.9.0 and it doesn't look like it has snprintf.  It would be very useful since I want to make certain that a string does not overflow the buffer being set to contain it.

 

Looks like code warrior uses their own internal functions vprintf and set_printf instead of the C standard stuff to implement printf and sprintf.  Anyone have any ideas or code snippets I can use to implement snprintf?

 

Thanks!

标签 (1)
0 项奖励
回复
1 回复

830 次查看
CompilerGuru
NXP Employee
NXP Employee
0 项奖励
回复