diff options
author | Philipp Maier <pmaier@sysmocom.de> | 2017-10-10 16:53:21 +0200 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2017-10-22 20:09:26 +0000 |
commit | c5b47cc03200c983981ac4b8de20fb0e26d4f873 (patch) | |
tree | 9072d96478518ce0e5e16be537a746ab9b429620 /tests/stats/stats_test.c | |
parent | fcf81b5deb8d02ba45907e90bb6668c67986a028 (diff) |
add function msgb_printf() to print formatted text into msg buf
In ASCII string based protocols it a printf() version that prints
directly to the message buffer may be useful.
Add function msgb_printf(), make sure that msg buffer bounderies
are not exceeded. If the end of the tail buffer is hit, return
with an error code.
Change-Id: I15e1af68616309555d0ed9ac5da027c9833d42e3
Diffstat (limited to 'tests/stats/stats_test.c')
0 files changed, 0 insertions, 0 deletions