Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Borland C++ 2.x ( with Turbo C ) - <b>localeconv() return pointer to locale structure</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 localeconv()            Return Pointer to Locale Structure

 #include   <locale.h>

 struct lconv *localeconv(void);

        This function returns a pointer to the current locale structure.
        Note that C++ currently only supports locale C, the default.

       Returns:     A pointer to the structure result.  There is no error
                    return.

   -------------------------------- Example ---------------------------------

 #include <locale.h>
 #include <stdio.h>

 int main(void)

    struct lconv localel;
    struct lconv *conv = &localel;

    conv = localeconv();
    return 0;


See Also: setlocale()

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