blob: c5444b0062e0ca06e7a685067f15c3c914a7cc93 [file] [log] [blame] [raw]
/* A part of the Windows CE C Extra Library (celibc)
Copyright 2007-2015 PC GO Ld.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
*/
#include <locale.h>
#include <limits.h>
struct lconv *localeconv() {
static struct lconv l;
l.decimal_point = ".";
l.thousands_sep = "";
l.grouping = "";
l.int_curr_symbol = "";
l.currency_symbol = "";
l.mon_decimal_point = "";
l.mon_thousands_sep = "";
l.mon_grouping = "";
l.positive_sign = "";
l.negative_sign = "";
l.int_frac_digits = CHAR_MAX;
l.frac_digits = CHAR_MAX;
l.p_cs_precedes = CHAR_MAX;
l.p_sep_by_space = CHAR_MAX;
l.n_cs_precedes = CHAR_MAX;
l.n_sep_by_space = CHAR_MAX;
l.p_sign_posn = CHAR_MAX;
l.n_sign_posn = CHAR_MAX;
return &l;
}