Debian Codegraph @

upstream/debian-unstable/man3/lconv.3type

raw
1 .\" Copyright 2020, Michael Kerrisk <[email protected]>
2 .\" Copyright, the authors of the Linux man-pages project
3 .\"
4 .\" SPDX-License-Identifier: Linux-man-pages-copyleft
5 .\"
6 .TH lconv 3type 2026-02-08 "Linux man-pages 6.18"
7 .SH NAME
8 lconv \- numeric formatting information
9 .SH LIBRARY
10 Standard C library
11 .RI ( libc )
12 .SH SYNOPSIS
13 .EX
14 .B #include <locale.h>
15 .P
16 .BR "struct lconv {" " /* Values in the \[dq]C\[dq] locale: */"
17 .BR " char *decimal_point;" " /* \[dq].\[dq] */"
18 .BR " char *thousands_sep;" " /* \[dq]\[dq] */"
19 .BR " char *grouping;" " /* \[dq]\[dq] */"
20 .BR " char *mon_decimal_point;" " /* \[dq]\[dq] */"
21 .BR " char *mon_thousands_sep;" " /* \[dq]\[dq] */"
22 .BR " char *mon_grouping;" " /* \[dq]\[dq] */"
23 .BR " char *positive_sign;" " /* \[dq]\[dq] */"
24 .BR " char *negative_sign;" " /* \[dq]\[dq] */"
25 .BR " char *currency_symbol;" " /* \[dq]\[dq] */"
26 .BR " char frac_digits;" " /* CHAR_MAX */"
27 .BR " char p_cs_precedes;" " /* CHAR_MAX */"
28 .BR " char n_cs_precedes;" " /* CHAR_MAX */"
29 .BR " char p_sep_by_space;" " /* CHAR_MAX */"
30 .BR " char n_sep_by_space;" " /* CHAR_MAX */"
31 .BR " char p_sign_posn;" " /* CHAR_MAX */"
32 .BR " char n_sign_posn;" " /* CHAR_MAX */"
33 .BR " char *int_curr_symbol;" " /* \[dq]\[dq] */"
34 .BR " char int_frac_digits;" " /* CHAR_MAX */"
35 .BR " char int_p_cs_precedes;" " /* CHAR_MAX */"
36 .BR " char int_n_cs_precedes;" " /* CHAR_MAX */"
37 .BR " char int_p_sep_by_space;" " /* CHAR_MAX */"
38 .BR " char int_n_sep_by_space;" " /* CHAR_MAX */"
39 .BR " char int_p_sign_posn;" " /* CHAR_MAX */"
40 .BR " char int_n_sign_posn;" " /* CHAR_MAX */"
41 .B };
42 .EE
43 .SH DESCRIPTION
44 Contains members related to the formatting of numeric values.
45 In the "C" locale, its members have the values
46 shown in the comments above.
47 .SH STANDARDS
48 C11, POSIX.1-2024.
49 .SH HISTORY
50 .TP
51 .I lconv
52 SUSv1,
53 POSIX.1-2001.
54 .TP
55 .I .int_p_cs_precedes
56 .TQ
57 .I .int_n_cs_precedes
58 .TQ
59 .I .int_p_sep_by_space
60 .TQ
61 .I .int_n_sep_by_space
62 .TQ
63 .I .int_p_sign_posn
64 .TQ
65 .I .int_n_sign_posn
66 POSIX.1-2001.
67 .SH SEE ALSO
68 .BR setlocale (3),
69 .BR localeconv (3),
70 .BR charsets (7),
71 .BR locale (7)