summaryrefslogtreecommitdiff
path: root/doc/posix-functions
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2018-01-24 10:02:17 +0100
committerBruno Haible <bruno@clisp.org>2018-01-24 10:02:17 +0100
commitb5d317541ee1c337ce954099289eeac10d161180 (patch)
treeee51b8f7f8c0e155df3946cb5585f0e0fe58fef5 /doc/posix-functions
parent4a236f16ce0ef97094ff2f6538d4dba90e72a523 (diff)
downloadgnulib-b5d317541ee1c337ce954099289eeac10d161180.tar.gz
langinfo, nl_langinfo: Add support for alternative month names.
* m4/langinfo_h.m4 (gl_LANGINFO_H): Define HAVE_LANGINFO_ALTMON. * lib/langinfo.in.h (ALTMON_1...ALTMON_12): New macros. * lib/nl_langinfo.c (rpl_nl_langinfo): Treat ALTMON_i like MON_i. * tests/test-nl_langinfo.c (main): Test ALTMON_*. * doc/posix-headers/langinfo.texi: Document support of ALTMON_*. * doc/posix-functions/nl_langinfo.texi: Likewise.
Diffstat (limited to 'doc/posix-functions')
-rw-r--r--doc/posix-functions/nl_langinfo.texi4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/posix-functions/nl_langinfo.texi b/doc/posix-functions/nl_langinfo.texi
index cd9e52392b..529b0e959b 100644
--- a/doc/posix-functions/nl_langinfo.texi
+++ b/doc/posix-functions/nl_langinfo.texi
@@ -15,6 +15,10 @@ Minix 3.1.8, mingw, MSVC 14, BeOS.
The constant @code{CODESET} is not supported on some platforms:
glibc 2.0.6, OpenBSD 3.8.
@item
+The constants @code{ALTMON_1} to @code{ALTMON_12} are not defined on some
+platforms:
+glibc 2.26 and many others.
+@item
The constants @code{ERA}, @code{ERA_D_FMT}, @code{ERA_D_T_FMT},
@code{ERA_T_FMT}, @code{ALT_DIGITS} are not supported on some platforms:
OpenBSD 3.8.