diff options
author | Thomas Weißschuh <thomas.weissschuh@linutronix.de> | 2025-04-11 12:00:50 +0300 |
---|---|---|
committer | Thomas Weißschuh <linux@weissschuh.net> | 2025-04-22 11:59:03 +0300 |
commit | 9f4a2e28bc4714487d9a0c85af2a87c07155c552 (patch) | |
tree | 173388bd89ec4c082b8f2c2410c6a20e49027eb3 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | f7b3eeffd402c5eec32be9c3bfdeb3ec03e87cf3 (diff) | |
download | linux-9f4a2e28bc4714487d9a0c85af2a87c07155c552.tar.xz |
tools/nolibc: allow limiting of printf destination size
snprintf() allows limiting the output buffer, while still returning the
number of all bytes that would have been written.
Implement the limitation logic in preparation for snprintf().
Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Acked-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions