12 #define NULL ((void*)0)
28 char *int_curr_symbol;
29 char *currency_symbol;
30 char *mon_decimal_point;
31 char *mon_thousands_sep;
43 char int_p_cs_precedes;
44 char int_p_sep_by_space;
45 char int_n_cs_precedes;
46 char int_n_sep_by_space;
52 char *setlocale (int, const char *);
53 struct lconv *localeconv(void);
56 #if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \
57 || defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE)
59 #define __NEED_locale_t
61 #include <bits/alltypes.h>
63 #define LC_GLOBAL_LOCALE ((locale_t)-1)
65 #define LC_CTYPE_MASK (1<<LC_CTYPE)
66 #define LC_NUMERIC_MASK (1<<LC_NUMERIC)
67 #define LC_TIME_MASK (1<<LC_TIME)
68 #define LC_COLLATE_MASK (1<<LC_COLLATE)
69 #define LC_MONETARY_MASK (1<<LC_MONETARY)
70 #define LC_MESSAGES_MASK (1<<LC_MESSAGES)
71 #define LC_ALL_MASK 0x7fffffff
73 locale_t duplocale(locale_t);
74 void freelocale(locale_t);
75 locale_t newlocale(int, const char *, locale_t);
76 locale_t uselocale(locale_t);