setlocale
setlocale
Defined in header <locale.h> | ||
---|---|---|
char* setlocale( int category, const char* locale); |
The setlocale
function installs the specified system locale or its portion as the new C locale. The modifications remain in effect and influences the execution of all locale-sensitive C library functions until the next call to setlocale
. If locale
is a null pointer, setlocale
queries the current C locale without modifying it.
Parameters
category | - | locale category identifier, one of the 登录查看完整内容
|