Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Microsoft C 6.0 - <b>localeconv() get locale setting information</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 localeconv()            Get Locale Setting Information

 #include   <locale.h>

 struct lconv *localeconv(void);

    The localeconv() function, which takes no arguments, gets information
    on the settings for numeric formatting regarding the program's
    current geographic locale. This information is returned in a
    structure of lconv type, which looks like this:

                {
                 char *decimal_point;
                 char *thousands_sep;
                 char *grouping;
                 char *int_curr_symbol;
                 char *currency_symbol;
                 char *mon_decimal_point;
                 char *mon_thousands_sep;
                 char *mon_grouping;
                 char *positive_sign;
                 char *negative_sign;
                 char int_frac_digits;
                 char frac_digits;
                 char p_cs_precedes;
                 char p_sep_by_space;
                 char n_cs_precedes;
                 char n_sep_by_space;
                 char p_sign_posn;
                 char n_sign_posn;
                }

    Returns:    A pointer to a lconv structure.

 Portability:   Not supported by the ANSI standard.


See Also: setlocale() strcoll() strftime() strxfrm()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson