]> Savannah Git Hosting - gnulib.git/commit
strerror_l: New module.
authorBruno Haible <bruno@clisp.org>
Tue, 18 Feb 2025 11:20:41 +0000 (12:20 +0100)
committerBruno Haible <bruno@clisp.org>
Tue, 18 Feb 2025 11:22:07 +0000 (12:22 +0100)
commit7f279c82678b2df49e04e7e80b1dfb206197fab2
treefe09812ffd576f3b3a00b09252f4a59dade897ee
parent1108ef767c53e20b75e6b5df770f5791299ce048
strerror_l: New module.

* lib/string.in.h: Include <locale.h>.
(strerror_l, strerror_l_r): New declarations.
* lib/strerror_l.c: New file.
* m4/strerror_l.m4: New file.
* m4/string_h.m4 (gl_STRING_H): Test for strerror_l.
(gl_STRING_H_REQUIRE_DEFAULTS): Initialize GNULIB_STRERROR_L.
(gl_STRING_H_DEFAULTS): Initialize HAVE_STRERROR_L, REPLACE_STRERROR_L.
* modules/string-h (Makefile.am): Substitute GNULIB_STRERROR_L,
HAVE_STRERROR_L, REPLACE_STRERROR_L.
* modules/strerror_l: New file.
* tests/test-string-h-c++.cc: Check declaration of strerror_l.
* doc/posix-functions/strerror_l.texi: Mention the new module.
ChangeLog
doc/posix-functions/strerror_l.texi
lib/strerror_l.c [new file with mode: 0644]
lib/string.in.h
m4/strerror_l.m4 [new file with mode: 0644]
m4/string_h.m4
modules/strerror_l [new file with mode: 0644]
modules/string-h
tests/test-string-h-c++.cc