This function is hardware-specific implementation. It is not implemented in this Compiler.
#include <locale.h>
char *setlocale(int class, const char *loc);
setlocale() changes the program's locale, either all or part of it, depending on class. The character string loc gives the new locale. The following table lists the classes allowed.
| Class | Affected Function |
|---|---|
| LC_ALL | All classes |
| LC_COLLATE | strcoll() and strxfrm() functions |
| LC_MONETARY | Monetary formatting |
| LC_NUMERIC | Numeric formatting |
| LC_TIME | strftime() function |
| LC_TYPE | Character handling and multi-byte character functions |
C, if loc is C or NULL; NULL otherwise.