linux/tools/testing/selftests/nolibc
Thomas Weißschuh d20d0b10f8 tools/nolibc: implement strerror()
strerror() is commonly used.
For example in kselftest which currently needs to do an #ifdef NOLIBC to
handle the lack of strerror().

Keep it simple and reuse the output format of perror() for strerror().

Acked-by: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
2024-06-29 09:44:57 +02:00
..
.gitignore selftests/nolibc: add script to run testsuite 2023-12-11 22:38:17 +01:00
Makefile selftests/nolibc: run-tests.sh: use -Werror by default 2024-06-29 09:44:54 +02:00
nolibc-test-linkage.c selftests/nolibc: add tests for multi-object linkage 2023-10-12 21:14:20 +02:00
nolibc-test-linkage.h selftests/nolibc: add tests for multi-object linkage 2023-10-12 21:14:20 +02:00
nolibc-test.c tools/nolibc: implement strerror() 2024-06-29 09:44:57 +02:00
run-tests.sh selftests/nolibc: run-tests.sh: use -Werror by default 2024-06-29 09:44:54 +02:00