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