10 #if __cplusplus >= 201103L
12 #elif defined(__cplusplus)
15 #define NULL ((void*)0)
31 char *int_curr_symbol
;
32 char *currency_symbol
;
33 char *mon_decimal_point
;
34 char *mon_thousands_sep
;
46 char int_p_cs_precedes
;
47 char int_p_sep_by_space
;
48 char int_n_cs_precedes
;
49 char int_n_sep_by_space
;
55 char *setlocale (int, const char *);
56 struct lconv
*localeconv(void);
59 #if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \
60 || defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
62 #define __NEED_locale_t
64 #include <bits/alltypes.h>
66 #define LC_GLOBAL_LOCALE ((locale_t)-1)
68 #define LC_CTYPE_MASK (1<<LC_CTYPE)
69 #define LC_NUMERIC_MASK (1<<LC_NUMERIC)
70 #define LC_TIME_MASK (1<<LC_TIME)
71 #define LC_COLLATE_MASK (1<<LC_COLLATE)
72 #define LC_MONETARY_MASK (1<<LC_MONETARY)
73 #define LC_MESSAGES_MASK (1<<LC_MESSAGES)
74 #define LC_ALL_MASK 0x7fffffff
76 locale_t
duplocale(locale_t
);
77 void freelocale(locale_t
);
78 locale_t
newlocale(int, const char *, locale_t
);
79 locale_t
uselocale(locale_t
);