snprintf for HC12

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

snprintf for HC12

991件の閲覧回数
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 返信

832件の閲覧回数
CompilerGuru
NXP Employee
NXP Employee
0 件の賞賛
返信