https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110133
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- I've also considered using strerror_l (with newlocale and uselocale), so that the strings are not affected by the current locale.
redi at gcc dot gnu.org via Gcc-bugs Mon, 05 Jun 2023 16:23:48 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110133
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- I've also considered using strerror_l (with newlocale and uselocale), so that the strings are not affected by the current locale.