Skip to content
Commit d20d0b10 authored by Thomas Weißschuh's avatar Thomas Weißschuh
Browse files

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: default avatarShuah Khan <skhan@linuxfoundation.org>
Signed-off-by: default avatarThomas Weißschuh <linux@weissschuh.net>
parent 582facfa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment