commit | d20d0b10f883085a44afd1a3af1bbd77ed53acf7 | [log] [tgz] |
---|---|---|
author | Thomas Weißschuh <linux@weissschuh.net> | Fri Apr 26 13:08:57 2024 +0200 |
committer | Thomas Weißschuh <linux@weissschuh.net> | Sat Jun 29 09:44:57 2024 +0200 |
tree | ce3b6539dc00258926e15d48ccec772b63ede5b9 | |
parent | 582facfa5a71c8211714ffe74f5167d403b968a7 [diff] |
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>