ladybird/LibC/locale.cpp
Andreas Kling cccc8d8aeb More compat work.
Move syscall to int 0x82 since using int 0x80 was kinda prone to fork bombs
when building things on Linux. :^)
2019-02-26 12:57:02 +01:00

19 lines
271 B
C++

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