diff options
author | 2025-04-11 11:00:50 +0200 | |
---|---|---|
committer | 2025-04-22 10:59:03 +0200 | |
commit | 9f4a2e28bc4714487d9a0c85af2a87c07155c552 (patch) | |
tree | 173388bd89ec4c082b8f2c2410c6a20e49027eb3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | tools/nolibc: allow different write callbacks in printf (diff) | |
download | wireguard-linux-9f4a2e28bc4714487d9a0c85af2a87c07155c552.tar.xz wireguard-linux-9f4a2e28bc4714487d9a0c85af2a87c07155c552.zip |
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions