25 char *int_curr_symbol;
26 char *currency_symbol;
27 char *mon_decimal_point;
28 char *mon_thousands_sep;
40 char int_p_cs_precedes;
41 char int_p_sep_by_space;
42 char int_n_cs_precedes;
43 char int_n_sep_by_space;
49 char *setlocale (int, const char *);
50 struct lconv *localeconv(void);
53 #if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \
54 || defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
56 #define __NEED_locale_t
58 #include <bits/alltypes.h>
60 #define LC_GLOBAL_LOCALE ((locale_t)-1)
62 #define LC_CTYPE_MASK (1<<LC_CTYPE)
63 #define LC_NUMERIC_MASK (1<<LC_NUMERIC)
64 #define LC_TIME_MASK (1<<LC_TIME)
65 #define LC_COLLATE_MASK (1<<LC_COLLATE)
66 #define LC_MONETARY_MASK (1<<LC_MONETARY)
67 #define LC_MESSAGES_MASK (1<<LC_MESSAGES)
68 #define LC_ALL_MASK 0x7fffffff
70 locale_t duplocale(locale_t);
71 void freelocale(locale_t);
72 locale_t newlocale(int, const char *, locale_t);
73 locale_t uselocale(locale_t);