3 #define F(t,n) {t *y = &x.n;}
4 #define C(n) switch(n){case n:;}
10 F(char*,currency_symbol
)
11 F(char*,decimal_point
)
14 F(char*,int_curr_symbol
)
15 F(char,int_frac_digits
)
16 F(char,int_n_cs_precedes
)
17 F(char,int_n_sep_by_space
)
18 F(char,int_n_sign_posn
)
19 F(char,int_p_cs_precedes
)
20 F(char,int_p_sep_by_space
)
21 F(char,int_p_sign_posn
)
22 F(char*,mon_decimal_point
)
24 F(char*,mon_thousands_sep
)
25 F(char*,negative_sign
)
27 F(char,n_sep_by_space
)
29 F(char*,positive_sign
)
31 F(char,p_sep_by_space
)
33 F(char*,thousands_sep
)
39 #ifdef _POSIX_C_SOURCE
45 #ifdef _POSIX_C_SOURCE
53 {locale_t x
= LC_GLOBAL_LOCALE
;}
54 {locale_t(*p
)(locale_t
) = duplocale
;}
55 {void(*p
)(locale_t
) = freelocale
;}
56 {locale_t(*p
)(int,const char*,locale_t
) = newlocale
;}
57 {locale_t(*p
)(locale_t
) = uselocale
;}
59 {struct lconv
*(*p
)(void) = localeconv
;}
60 {char*(*p
)(int,const char*) = setlocale
;}