Standard locale functions.
char * setlocale | ( | int | category, |
char * | locale | ||
) |
Set the app's locale for a category of routines.
setlocale
can be used to:
setlocale(LC_ALL, "en_CA")
setlocale(LC_ALL, "")
setlocale(LC_ALL, NULL)
category | The category of routines for which to set the locale |
locale | The ISO formatted locale to use, or "" for the system locale |