|
Localisation <locale.h> |
Top Previous Next |
|
The localisation facility of ANSI C makes it possible to vary a number of aspects of the run-time library to follow local conventions about the format of numbers, collating sequences when comparing alphanumeric strings, the format of the time and date, and so on.
Currently, Diamond implements the "C" and "" locales only, as required by the ANSI standard.
As well as the following two functions, the header defines a type, lconv, which contains fields relating to the formatting of numbers, and a number of macros which are used to specify aspects of the locale to change or query. For details, see section 4.4 of the standard.
|