Content deleted Content added
→Example: syntax |
→Usage: a bit of cleanup |
||
Line 4:
In [[computing]], '''locale.h''' is a [[C (programming language)|C]] programming language [[header file]], used for purposes of [[Internationalization and localization|localization]]. The header provides two key functions: <code>localeconv</code> and <code>setlocale</code>. The former provides access to the current locale, while the latter allows one to set the current locale. The header also defines the [[C++ classes|struct]] <code>lconv</code>, which stores information about a given locale, including the local preference for the display of numbers and currency.
==Overview of functions==
C localization functions and types are defined in <tt>locale.h</tt> (<tt>clocale</tt> header in C++).
'''struct lconv'''
*explain formatting monetary and other numeric values.
|