summaryrefslogtreecommitdiff
path: root/LibC/locale.cpp
blob: 62bd414b7ca4f90c52f1ffd634f3f5ad8dda1fa7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#include <locale.h>
#include <assert.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;
}

}