开发者

__android_log_print printing with out '/n' newline CR

WHen in native code __android_log_print() is used it prints adds an /n at the end of the text.

I am trying to get the same behavior as printf, where when /n not used it prints the next sting on the same line.

I need to write a data dump so I need to be able to to structure the data. Now, I know I can store things in a temp buffer but I don't want to do that.

As I am working on an embedded device with an extremely small runt开发者_开发技巧ime memory.


You should consider whether the __android_log_print() function is appropriate to use for dumping data. It's conventional for logging functions that they output whole lines for each call.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜