Contents|Index|Previous|Next
Locale (locale.h)

A locale is the name for a collection of parameters (affecting collating sequences and formatting conventions) that may be different depending on location or culture. The “C” locale is the only one defined in the ANSI C standard.

This is a minimal implementation, supporting only the required “C” value for locale; strings representing other locales are not honored. “  ” is also accepted; it represents the default locale for an implementation, “C” being equivalent. See setlocale, localeconv for more discussion.

locale.h defines the structure, lconv, to collect the information on a locale, with the following fields.


Top|Contents|Index|Previous|Next