summaryrefslogtreecommitdiffstats
path: root/man/man3type/lconv.3type
blob: 5757cd068980d37da2506d1640f7a3674d4d2dcc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
.\" Copyright (c) 2020-2022 by Alejandro Colomar <alx@kernel.org>
.\" and Copyright (c) 2020 by Michael Kerrisk <mtk.manpages@gmail.com>
.\"
.\" SPDX-License-Identifier: Linux-man-pages-copyleft
.\"
.\"
.TH lconv 3type (date) "Linux man-pages (unreleased)"
.SH NAME
lconv \- numeric formatting information
.SH LIBRARY
Standard C library
.RI ( libc )
.SH SYNOPSIS
.EX
.B #include <locale.h>
.P
.BR "struct lconv {" "                /* Values in the \[dq]C\[dq] locale: */"
.BR "    char *decimal_point;" "      /* \[dq].\[dq] */"
.BR "    char *thousands_sep;" "      /* \[dq]\[dq] */"
.BR "    char *grouping;" "           /* \[dq]\[dq] */"
.BR "    char *mon_decimal_point;" "  /* \[dq]\[dq] */"
.BR "    char *mon_thousands_sep;" "  /* \[dq]\[dq] */"
.BR "    char *mon_grouping;" "       /* \[dq]\[dq] */"
.BR "    char *positive_sign;" "      /* \[dq]\[dq] */"
.BR "    char *negative_sign;" "      /* \[dq]\[dq] */"
.BR "    char *currency_symbol;" "    /* \[dq]\[dq] */"
.BR "    char  frac_digits;" "        /* CHAR_MAX */"
.BR "    char  p_cs_precedes;" "      /* CHAR_MAX */"
.BR "    char  n_cs_precedes;" "      /* CHAR_MAX */"
.BR "    char  p_sep_by_space;" "     /* CHAR_MAX */"
.BR "    char  n_sep_by_space;" "     /* CHAR_MAX */"
.BR "    char  p_sign_posn;" "        /* CHAR_MAX */"
.BR "    char  n_sign_posn;" "        /* CHAR_MAX */"
.BR "    char *int_curr_symbol;" "    /* \[dq]\[dq] */"
.BR "    char  int_frac_digits;" "    /* CHAR_MAX */"
.BR "    char  int_p_cs_precedes;" "  /* CHAR_MAX */"
.BR "    char  int_n_cs_precedes;" "  /* CHAR_MAX */"
.BR "    char  int_p_sep_by_space;" " /* CHAR_MAX */"
.BR "    char  int_n_sep_by_space;" " /* CHAR_MAX */"
.BR "    char  int_p_sign_posn;" "    /* CHAR_MAX */"
.BR "    char  int_n_sign_posn;" "    /* CHAR_MAX */"
.B };
.EE
.SH DESCRIPTION
Contains members related to the formatting of numeric values.
In the "C" locale, its members have the values
shown in the comments above.
.SH STANDARDS
C11, POSIX.1-2008.
.SH HISTORY
POSIX.1-2001.
.SH SEE ALSO
.BR setlocale (3),
.BR localeconv (3),
.BR charsets (7),
.BR locale (7)