11 #define __NEED_locale_t
13 #include <bits/alltypes.h>
15 #define ABDAY_1 0x20000
16 #define ABDAY_2 0x20001
17 #define ABDAY_3 0x20002
18 #define ABDAY_4 0x20003
19 #define ABDAY_5 0x20004
20 #define ABDAY_6 0x20005
21 #define ABDAY_7 0x20006
31 #define ABMON_1 0x2000E
32 #define ABMON_2 0x2000F
33 #define ABMON_3 0x20010
34 #define ABMON_4 0x20011
35 #define ABMON_5 0x20012
36 #define ABMON_6 0x20013
37 #define ABMON_7 0x20014
38 #define ABMON_8 0x20015
39 #define ABMON_9 0x20016
40 #define ABMON_10 0x20017
41 #define ABMON_11 0x20018
42 #define ABMON_12 0x20019
53 #define MON_10 0x20023
54 #define MON_11 0x20024
55 #define MON_12 0x20025
57 #define AM_STR 0x20026
58 #define PM_STR 0x20027
60 #define D_T_FMT 0x20028
63 #define T_FMT_AMPM 0x2002B
66 #define ERA_D_FMT 0x2002E
67 #define ALT_DIGITS 0x2002F
68 #define ERA_D_T_FMT 0x20030
69 #define ERA_T_FMT 0x20031
73 #define CRNCYSTR 0x4000F
75 #define RADIXCHAR 0x10000
76 #define THOUSEP 0x10001
77 #define YESEXPR 0x50000
78 #define NOEXPR 0x50001
80 #define _NL_LOCALE_NAME(cat) (((cat)<<16) | 0xffff)
82 #if defined(_GNU_SOURCE)
83 #define NL_LOCALE_NAME(cat) _NL_LOCALE_NAME(cat)
86 #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
87 #define YESSTR 0x50002
91 char *nl_langinfo(nl_item
);
92 char *nl_langinfo_l(nl_item
, locale_t
);