2 * Copyright 2010-2012 Haiku, Inc. All Rights Reserved.
3 * Distributed under the terms of the MIT License.
11 #include <sys/cdefs.h>
15 CODESET
, /* codeset name */
16 D_T_FMT
, /* string for formatting date and time */
17 D_FMT
, /* date format string */
18 T_FMT
, /* time format string */
19 T_FMT_AMPM
, /* a.m. or p.m. time formatting string */
20 AM_STR
, /* Ante Meridian affix */
21 PM_STR
, /* Post Meridian affix */
32 /* abbreviated week day names */
55 /* abbreviated month names */
69 ERA
, /* era description segments */
70 ERA_D_FMT
, /* era date format string */
71 ERA_D_T_FMT
, /* era date and time format string */
72 ERA_T_FMT
, /* era time format string */
73 ALT_DIGITS
, /* alternative symbols for digits */
75 RADIXCHAR
, /* radix char */
76 THOUSEP
, /* separator for thousands */
78 YESEXPR
, /* affirmative response expression */
79 NOEXPR
, /* negative response expression */
81 CRNCYSTR
, /* currency symbol */
86 /* According to the POSIX base specs v7, the above need to be available as
87 symbolic constants, so we define them individually to their respective
89 #define CODESET CODESET
90 #define D_T_FMT D_T_FMT
93 #define T_FMT_AMPM T_FMT_AMPM
103 #define ABDAY_1 ABDAY_1
104 #define ABDAY_2 ABDAY_2
105 #define ABDAY_3 ABDAY_3
106 #define ABDAY_4 ABDAY_4
107 #define ABDAY_5 ABDAY_5
108 #define ABDAY_6 ABDAY_6
109 #define ABDAY_7 ABDAY_7
119 #define MON_10 MON_10
120 #define MON_11 MON_11
121 #define MON_12 MON_12
122 #define ABMON_1 ABMON_1
123 #define ABMON_2 ABMON_2
124 #define ABMON_3 ABMON_3
125 #define ABMON_4 ABMON_4
126 #define ABMON_5 ABMON_5
127 #define ABMON_6 ABMON_6
128 #define ABMON_7 ABMON_7
129 #define ABMON_8 ABMON_8
130 #define ABMON_9 ABMON_9
131 #define ABMON_10 ABMON_10
132 #define ABMON_11 ABMON_11
133 #define ABMON_12 ABMON_12
135 #define ERA_D_FMT ERA_D_FMT
136 #define ERA_D_T_FMT ERA_D_T_FMT
137 #define ERA_T_FMT ERA_T_FMT
138 #define ALT_DIGITS ALT_DIGITS
139 #define RADIXCHAR RADIXCHAR
140 #define THOUSEP THOUSEP
141 #define YESEXPR YESEXPR
142 #define NOEXPR NOEXPR
143 #define CRNCYSTR CRNCYSTR
147 extern char* nl_langinfo(nl_item item
);
152 #endif /* _LANGINFO_H_ */