summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorWilly Tarreau <w@1wt.eu>2022-02-07 17:23:42 +0100
committerPaul E. McKenney <paulmck@kernel.org>2022-04-20 17:05:44 -0700
commitb312eb0b8711dbfbe2b45681926eb553e8ac8de3 (patch)
treeb24cf7c9f79183c1a70ec3a7a44a970b1fc82f3c /tools/perf/scripts/python/syscall-counts.py
parentd76232ff8be662b8851e975d13d59cad4bf423d3 (diff)
tools/nolibc/string: add strncpy() and strlcpy()
These are minimal variants. strncpy() always fills the destination for <size> chars, while strlcpy() copies no more than <size> including the zero and returns the source's length. The respective sizes on various archs are: strncpy(): x86:0x1f mips:0x30 arm:0x20 strlcpy(): x86:0x17 mips:0x34 arm:0x1a Signed-off-by: Willy Tarreau <w@1wt.eu> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions