1 /* 2 * Copyright (c) 1991 The Regents of the University of California. 3 * All rights reserved. 4 * 5 * %sccs.include.redist.c% 6 */ 7 8 #if defined(LIBC_SCCS) && !defined(lint) 9 static char sccsid[] = "@(#)lconv.c 5.1 (Berkeley) 02/18/91"; 10 #endif /* LIBC_SCCS and not lint */ 11 12 #include <locale.h> 13 14 char empty[] = ""; 15 16 /* 17 * Default (C) locale conversion. 18 */ 19 static struct lconv C_lconv = { 20 ".", /* decimal_point */ 21 empty, /* thousands_sep */ 22 empty, /* grouping */ 23 empty, /* int_curr_symbol */ 24 empty, /* currency_symbol */ 25 empty, /* mon_decimal_point */ 26 empty, /* mon_thousands_sep */ 27 empty, /* mon_grouping */ 28 empty, /* positive_sign */ 29 empty, /* negative_sign */ 30 CHAR_MAX, /* int_frac_digits */ 31 CHAR_MAX, /* frac_digits */ 32 CHAR_MAX, /* p_cs_precedes */ 33 CHAR_MAX, /* p_sep_by_space */ 34 CHAR_MAX, /* n_cs_precedes */ 35 CHAR_MAX, /* n_sep_by_space */ 36 CHAR_MAX, /* p_sign_posn */ 37 CHAR_MAX, /* n_sign_posn */ 38 }; 39 40 /* 41 * Current locale conversion. 42 */ 43 struct lconv *__lconv = &C_lconv; 44