summaryrefslogtreecommitdiff
path: root/include/langinfo.h
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2002-12-20 19:26:35 +0000
committerManuel Novoa III <mjn3@codepoet.org>2002-12-20 19:26:35 +0000
commitc9d66e44af5c93a1ea5487fd9bff78274be65850 (patch)
tree975bb662b51ac91f8d1434553b936784b175a802 /include/langinfo.h
parentbd6e7b0208c9652717bec30abff2d8dc12eaaca7 (diff)
The big thing is locale dependent collation support.
Also added outdigit support and (legacy) YESSTR/NOSTR support.
Diffstat (limited to 'include/langinfo.h')
-rw-r--r--include/langinfo.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/include/langinfo.h b/include/langinfo.h
index 109923ff5..a57a871c5 100644
--- a/include/langinfo.h
+++ b/include/langinfo.h
@@ -356,7 +356,17 @@ enum
_NL_CTYPE_EXTRA_MAP_14,
_NL_NUM_LC_CTYPE,
#else /* 0 */
- _NL_CTYPE_CODESET_NAME = _NL_ITEM (__LC_CTYPE, 0),
+ _NL_CTYPE_OUTDIGIT0_MB = _NL_ITEM (__LC_CTYPE, 0),
+ _NL_CTYPE_OUTDIGIT1_MB,
+ _NL_CTYPE_OUTDIGIT2_MB,
+ _NL_CTYPE_OUTDIGIT3_MB,
+ _NL_CTYPE_OUTDIGIT4_MB,
+ _NL_CTYPE_OUTDIGIT5_MB,
+ _NL_CTYPE_OUTDIGIT6_MB,
+ _NL_CTYPE_OUTDIGIT7_MB,
+ _NL_CTYPE_OUTDIGIT8_MB,
+ _NL_CTYPE_OUTDIGIT9_MB,
+ _NL_CTYPE_CODESET_NAME, /* uClibc note: MUST BE LAST ENTRY!!! */
CODESET = _NL_CTYPE_CODESET_NAME,
#define CODESET CODESET
#endif /* 0 */
@@ -509,7 +519,6 @@ enum
#define YESEXPR __YESEXPR
__NOEXPR, /* Regex matching ``no'' input. */
#define NOEXPR __NOEXPR
-#if 0
__YESSTR, /* Output string for ``yes''. */
#if defined __USE_GNU || (defined __USE_XOPEN && !defined __USE_XOPEN2K)
# define YESSTR __YESSTR
@@ -518,6 +527,7 @@ enum
#if defined __USE_GNU || (defined __USE_XOPEN && !defined __USE_XOPEN2K)
# define NOSTR __NOSTR
#endif
+#if 0
_NL_MESSAGES_CODESET,
#endif
_NL_NUM_LC_MESSAGES,