6.10.2 <locale.h> Types

Locale Category Macros

Macros which specify a portion of a locale, usable as the first argument to the setlocale() function.

Attention: These macros are not implemented when building with MPLAB XC8 for PIC MCUs. They are implemented for all other devices and compilers.

Include

<locale.h>

Remarks

The locale category macros defined by this header are tabulated below with that portion of a locale that they affect.

MacroAffects
LC_ALLThe entire locale
LC_COLLATEThe behavior of the strcoll() and strxfrm() function
LC_CTYPEThe behavior of the character handling functions
LC_MONETARYThe monetary formatting information returned by the localeconv() function
LC_NUMERICThe decimal-point character for the formatted I/O and string conversion functions; the nonmonetary formatting information returned by the localeconv() function
LC_TIMEThe behavior of the strftime() and wcsftime() functions