#include #include void main() { struct lconv *lc; lc = localeconv(); printf( "*decimal_point (%s)\n", lc->decimal_point ); printf( "*thousands_sep (%s)\n", lc->thousands_sep ); printf( "*int_curr_symbol (%s)\n", lc->int_curr_symbol ); printf( "*currency_symbol (%s)\n", lc->currency_symbol ); printf( "*mon_decimal_point (%s)\n", lc->mon_decimal_point ); printf( "*mon_thousands_sep (%s)\n", lc->mon_thousands_sep ); printf( "*mon_grouping (%s)\n", lc->mon_grouping ); printf( "*grouping (%s)\n", lc->grouping ); printf( "*positive_sign (%s)\n", lc->positive_sign ); printf( "*negative_sign (%s)\n", lc->negative_sign ); printf( "int_frac_digits (%d)\n", lc->int_frac_digits ); printf( "frac_digits (%d)\n", lc->frac_digits ); printf( "p_cs_precedes (%d)\n", lc->p_cs_precedes ); printf( "p_sep_by_space (%d)\n", lc->p_sep_by_space ); printf( "n_cs_precedes (%d)\n", lc->n_cs_precedes ); printf( "n_sep_by_space (%d)\n", lc->n_sep_by_space ); printf( "p_sign_posn (%d)\n", lc->p_sign_posn ); printf( "n_sign_posn (%d)\n", lc->n_sign_posn ); }