1 /* $NetBSD: localeconv.c,v 1.2 2002/11/19 23:15:59 chris Exp $ */
4 * Written by J.T. Conklin <jtc@NetBSD.org>.
9 #include <sys/localedef.h>
14 * The localeconv() function constructs a struct lconv from the current
15 * monetary and numeric locales.
19 * Return the current locale conversion.
20 * Fixed in the "C" locale.
25 static struct lconv ret
= {
26 /* char *decimal_point */ ".",
27 /* char *thousands_sep */ "",
28 /* char *grouping */ "",
29 /* char *int_curr_symbol */ "",
30 /* char *currency_symbol */ "",
31 /* char *mon_decimal_point */ "",
32 /* char *mon_thousands_sep */ "",
33 /* char *mon_grouping */ "",
34 /* char *positive_sign */ "",
35 /* char *negative_sign */ "",
36 /* char int_frac_digits */ CHAR_MAX
,
37 /* char frac_digits */ CHAR_MAX
,
38 /* char p_cs_precedes */ CHAR_MAX
,
39 /* char p_sep_by_space */ CHAR_MAX
,
40 /* char n_cs_precedes */ CHAR_MAX
,
41 /* char n_sep_by_space */ CHAR_MAX
,
42 /* char p_sign_posn */ CHAR_MAX
,
43 /* char n_sign_posn */ CHAR_MAX
,