map in kernel in 4MB, global-bit-set 'pages' if hardware
[minix.git] / lib / ansi / localeconv.c
blobfdc03a0d67fbb0ef2f884de108996396cc55ab9c
1 /*
2 * localeconv - set components of a struct according to current locale
3 */
4 /* $Header$ */
6 #include <limits.h>
7 #include <locale.h>
9 extern struct lconv _lc;
11 struct lconv *
12 localeconv(void)
14 register struct lconv *lcp = &_lc;
16 lcp->decimal_point = ".";
17 lcp->thousands_sep = "";
18 lcp->grouping = "";
19 lcp->int_curr_symbol = "";
20 lcp->currency_symbol = "";
21 lcp->mon_decimal_point = "";
22 lcp->mon_thousands_sep = "";
23 lcp->mon_grouping = "";
24 lcp->positive_sign = "";
25 lcp->negative_sign = "";
26 lcp->int_frac_digits = CHAR_MAX;
27 lcp->frac_digits = CHAR_MAX;
28 lcp->p_cs_precedes = CHAR_MAX;
29 lcp->p_sep_by_space = CHAR_MAX;
30 lcp->n_cs_precedes = CHAR_MAX;
31 lcp->n_sep_by_space = CHAR_MAX;
32 lcp->p_sign_posn = CHAR_MAX;
33 lcp->n_sign_posn = CHAR_MAX;
35 return lcp;