summaryrefslogtreecommitdiff
path: root/src/locale/localeconv.c
blob: 494cbcc0a822b20535e00f24e64e3b6c790ed2bc (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
#include <locale.h>
#include <string.h>
#include <stdlib.h>

static const struct lconv posix_lconv = {
	.decimal_point = ".",
	.thousands_sep = "",
	.grouping = "",
	.int_curr_symbol = "",
	.currency_symbol = "",
	.mon_decimal_point = "",
	.mon_thousands_sep = "",
	.mon_grouping = "",
	.positive_sign = "",
	.negative_sign = "",
	.int_frac_digits = -1,
	.frac_digits = -1,
	.p_cs_precedes = -1,
	.p_sep_by_space = -1,
	.n_cs_precedes = -1,
	.n_sep_by_space = -1,
	.p_sign_posn = -1,
	.n_sign_posn = -1,
	.int_p_cs_precedes = -1,
	.int_p_sep_by_space = -1,
	.int_n_cs_precedes = -1,
	.int_n_sep_by_space = -1,
	.int_p_sign_posn = -1,
	.int_n_sign_posn = -1,
};

struct lconv *localeconv(void)
{
	return (void *)&posix_lconv;
}