#include static char s_default_locale[] = "C"; extern "C" { char* setlocale(int, const char*) { // FIXME: Set the current locale if is not NULL. return s_default_locale; } }