diff options
author | Willy Tarreau <w@1wt.eu> | 2022-03-21 20:33:10 +0300 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2022-04-21 03:05:45 +0300 |
commit | 0e7b492943ec8cfdc7fffd9304d496315f781ea7 (patch) | |
tree | 827a64796b348b5966f31f4626cc0a343743920a /tools/lib/api/debug.c | |
parent | bd845a193aae4b99da5215fcfff0e9014b9f7b96 (diff) | |
download | linux-0e7b492943ec8cfdc7fffd9304d496315f781ea7.tar.xz |
tools/nolibc/string: add strcmp() and strncmp()
We need these functions all the time, including when checking environment
variables and parsing command-line arguments. These implementations were
optimized to show optimal code size on a wide range of compilers (22 bytes
return included for strcmp(), 33 for strncmp()).
Signed-off-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'tools/lib/api/debug.c')
0 files changed, 0 insertions, 0 deletions