mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 20:17:44 +00:00
Libraries: Create top level directory for libraries.
Things were getting a little crowded in the project root, so this patch moves the Lib*/ directories into Libraries/.
This commit is contained in:
parent
63814ffebf
commit
04b9dc2d30
328 changed files with 36 additions and 36 deletions
27
Libraries/LibC/locale.cpp
Normal file
27
Libraries/LibC/locale.cpp
Normal file
|
@ -0,0 +1,27 @@
|
|||
#include <assert.h>
|
||||
#include <locale.h>
|
||||
#include <stdio.h>
|
||||
|
||||
extern "C" {
|
||||
|
||||
static char default_decimal_point[] = ".";
|
||||
static char default_thousands_sep[] = ",";
|
||||
static char default_grouping[] = "\x03\x03";
|
||||
|
||||
static struct lconv default_locale = {
|
||||
default_decimal_point,
|
||||
default_thousands_sep,
|
||||
default_grouping,
|
||||
};
|
||||
|
||||
char* setlocale(int category, const char* locale)
|
||||
{
|
||||
dbgprintf("FIXME(LibC): setlocale(%d, %s)\n", category, locale);
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
struct lconv* localeconv()
|
||||
{
|
||||
return &default_locale;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue