This is a Hardware specific function. It is not implemented in the Compiler.
#include <locale.h>
char *setlocale(int class, const char *loc);
setlocale() changes all or part of the program's locale, depending on class. The new locale is given by the character string loc. The classes allowed are given in the following table.
| Class | Affected portion of program locale |
|---|---|
| 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 |
The CodeWarrior IDE supports only the minimum locale C (see locale.h) so this function has no effect.
C, if loc is C or NULL; NULL otherwise.
strftime(), and