locale.h (673B)
1 #ifndef __LOCALE 2 #define __LOCALE 3 4 #define LC_ALL 0 5 #define LC_COLLATE 1 6 #define LC_CTYPE 2 7 #define LC_MONETARY 3 8 #define LC_NUMERIC 4 9 #define LC_TIME 5 10 #define NULL 0 11 12 struct lconv { 13 char *decimal_point; 14 char *thousands_sep; 15 char *grouping; 16 char *int_curr_symbol; 17 char *currency_symbol; 18 char *mon_decimal_point; 19 char *mon_thousands_sep; 20 char *mon_grouping; 21 char *positive_sign; 22 char *negative_sign; 23 char int_frac_digits; 24 char frac_digits; 25 char p_cs_precedes; 26 char p_sep_by_space; 27 char n_cs_precedes; 28 char n_sep_by_space; 29 char p_sign_posn; 30 char n_sign_posn; 31 }; 32 33 char *setlocale(int, const char *); 34 struct lconv *localeconv(void); 35 36 #endif /* __LOCALE */