I want to getinformation about the current locale.
The only interface I could find is:
locale.h: extern struct lconv *localeconv (void);
7.7 Accessing Locale Information
… To do this the C library provides two functions: localeconv and nl_langinfo. The former is part of ISO C and therefore portable, but has a brain-damaged interface. The second is part of the Unix interface and is portable in as far as the system follows the Unix standards.
• The Lame Way to Locale Data: ISO C’s localeconv.
• The Elegant and Fast Way: X/Open’s nl_langinfo.