#include <locale.h> char *setlocale(int category, const char *locale);
This function sets part or all of the current locale. The category is one of the following:
LC_ALL
LC_COLLATE
LC_CTYPE
LC_MONETARY
LC_NUMERIC
LC_TIME
The locale should be the name of the current locale. Currently, only the "C" and "POSIX" locales are supported. If the locale is NULL, no action is performed. If locale is "", the locale is identified by environment variables (currently not supported).
See section localeconv.
A static string naming the current locale for the given category, or NULL if the requested locale is not supported.
ANSI, POSIX
setlocale(LC_ALL, "C");
Go to the first, previous, next, last section, table of contents.