locale.h (357B)
1 #ifndef _LOCALE_H 2 #define _LOCALE_H 3 4 #include <stddef.h> 5 6 struct lconv { 7 char *decimal_point; 8 char *thousands_sep; 9 char *grouping; 10 }; 11 12 char *setlocale(int category, const char *locale); 13 struct lconv *localeconv(void); 14 15 #define LC_ALL 0 16 #define LC_COLLATE 1 17 #define LC_CTYPE 2 18 #define LC_MONETARY 3 19 #define LC_NUMERIC 4 20 #define LC_TIME 5 21 22 #endif