Namensräume
Varianten

setlocale

Aus cppreference.com
< c | locale

<metanoindex/>

<tbody> </tbody>
definiert in Header <locale.h>
char* setlocale( int category, const char* locale);
Die setlocale Funktion installiert das angegebene Gebietsschema oder einem Teil davon, wie die neue C locale. Die Änderungen bleiben wirksam und beeinflusst die Ausführung aller locale-sensitive C-Library-Funktionen bis zum nächsten Aufruf setlocale. Wenn locale ein NULL-Zeiger ist, fragt setlocale die aktuelle C locale ohne es zu ändern .
Original:
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.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.