1lconv(3type) lconv(3type)
2
3
4
6 lconv - numeric formatting information
7
9 Standard C library (libc)
10
12 #include <locale.h>
13
14 struct lconv { /* Values in the "C" locale: */
15 char *decimal_point; /* "." */
16 char *thousands_sep; /* "" */
17 char *grouping; /* "" */
18 char *mon_decimal_point; /* "" */
19 char *mon_thousands_sep; /* "" */
20 char *mon_grouping; /* "" */
21 char *positive_sign; /* "" */
22 char *negative_sign; /* "" */
23 char *currency_symbol; /* "" */
24 char frac_digits; /* CHAR_MAX */
25 char p_cs_precedes; /* CHAR_MAX */
26 char n_cs_precedes; /* CHAR_MAX */
27 char p_sep_by_space; /* CHAR_MAX */
28 char n_sep_by_space; /* CHAR_MAX */
29 char p_sign_posn; /* CHAR_MAX */
30 char n_sign_posn; /* CHAR_MAX */
31 char *int_curr_symbol; /* "" */
32 char int_frac_digits; /* CHAR_MAX */
33 char int_p_cs_precedes; /* CHAR_MAX */
34 char int_n_cs_precedes; /* CHAR_MAX */
35 char int_p_sep_by_space; /* CHAR_MAX */
36 char int_n_sep_by_space; /* CHAR_MAX */
37 char int_p_sign_posn; /* CHAR_MAX */
38 char int_n_sign_posn; /* CHAR_MAX */
39 };
40
42 Contains members related to the formatting of numeric values. In the
43 "C" locale, its members have the values shown in the comments above.
44
46 C11, POSIX.1-2008.
47
49 POSIX.1-2001.
50
52 setlocale(3), localeconv(3), charsets(7), locale(7)
53
54
55
56Linux man-pages 6.05 2023-03-30 lconv(3type)