ladybird/LibC/locale.cpp
2019-06-07 11:49:03 +02:00

23 lines
356 B
C++

#include <assert.h>
#include <locale.h>
#include <stdio.h>
extern "C" {
static struct lconv default_locale = {
".",
",",
"\x03\x03",
};
char* setlocale(int category, const char* locale)
{
dbgprintf("FIXME(LibC): setlocale(%d, %s)\n", category, locale);
return nullptr;
}
struct lconv* localeconv()
{
return &default_locale;
}
}