—
NAME
lconv - numeric formatting information
LIBRARY
Standard C library (libc)
SYNOPSIS
bash
#include <locale.h>bash
struct lconv {\n /* Values in the "C" locale: */
\n char *decimal_point;\n /* "." */
\n char *thousands_sep;\n /* "" */
\n char *grouping;\n /* "" */
\n char *mon_decimal_point;\n /* "" */
\n char *mon_thousands_sep;\n /* "" */
\n char *mon_grouping;\n /* "" */
\n char *positive_sign;\n /* "" */
\n char *negative_sign;\n /* "" */
\n char *currency_symbol;\n /* "" */
\n char frac_digits;\n /* CHAR_MAX */
\n char p_cs_precedes;\n /* CHAR_MAX */
\n char n_cs_precedes;\n /* CHAR_MAX */
\n char p_sep_by_space;\n /* CHAR_MAX */
\n char n_sep_by_space;\n /* CHAR_MAX */
\n char p_sign_posn;\n /* CHAR_MAX */
\n char n_sign_posn;\n /* CHAR_MAX */
\n char *int_curr_symbol;\n /* "" */
\n char int_frac_digits;\n /* CHAR_MAX */
\n char int_p_cs_precedes;\n /* CHAR_MAX */
\n char int_n_cs_precedes;\n /* CHAR_MAX */
\n char int_p_sep_by_space;\n /* CHAR_MAX */
\n char int_n_sep_by_space;\n /* CHAR_MAX */
\n char int_p_sign_posn;\n /* CHAR_MAX */
\n char int_n_sign_posn;\n /* CHAR_MAX */
\n};\nDESCRIPTION
Contains members related to the formatting of numeric values. In the "C" locale, its members have the values shown in the comments above.
STANDARDS
C11, POSIX.1-2008.
HISTORY
POSIX.1-2001.
SEE ALSO
setlocale(3), localeconv(3), charsets(7), locale(7)