>From 83ab19476a4ad422c9ba7948807bfa6dbf4de653 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Wed, 9 Sep 2026 21:19:21 -0400 Subject: [PATCH 02/23] langinfo: add alternative month name keys from POSIX 2024 numeric values are aligned with glibc --- include/langinfo.h | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/include/langinfo.h b/include/langinfo.h index 519c0612..0003dfc1 100644 --- a/include/langinfo.h +++ b/include/langinfo.h @@ -68,6 +68,32 @@ extern "C" { #define ERA_D_T_FMT 0x20030 #define ERA_T_FMT 0x20031 +#define ALTMON_1 0x2006f +#define ALTMON_2 0x20070 +#define ALTMON_3 0x20071 +#define ALTMON_4 0x20072 +#define ALTMON_5 0x20073 +#define ALTMON_6 0x20074 +#define ALTMON_7 0x20075 +#define ALTMON_8 0x20076 +#define ALTMON_9 0x20077 +#define ALTMON_10 0x20078 +#define ALTMON_11 0x20079 +#define ALTMON_12 0x2007a + +#define ABALTMON_1 0x20087 +#define ABALTMON_2 0x20088 +#define ABALTMON_3 0x20089 +#define ABALTMON_4 0x2008a +#define ABALTMON_5 0x2008b +#define ABALTMON_6 0x2008c +#define ABALTMON_7 0x2008d +#define ABALTMON_8 0x2008e +#define ABALTMON_9 0x2008f +#define ABALTMON_10 0x20090 +#define ABALTMON_11 0x20091 +#define ABALTMON_12 0x20092 + #define CODESET 14 #define CRNCYSTR 0x4000F -- 2.21.0