aboutsummaryrefslogtreecommitdiff
path: root/src/lib/libc/locale.c
blob: 3c7db9efb24420fb6b468399ef4a56c3b0b56f46 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#include <locale.h>
#include <stddef.h>
#include <limits.h>

struct lconv c_locale_lconv = {
	".", "", "", "", "", "", "", "",
	"", "", CHAR_MAX, CHAR_MAX, CHAR_MAX,
	CHAR_MAX, CHAR_MAX, CHAR_MAX, CHAR_MAX,
	CHAR_MAX
};

struct lconv *localeconv() {
	// TODO
	return &c_locale_lconv;
}

char* setlocale(int catebory, const char* locale) {
	// TODO
	return NULL;
}

/* vim: set sts=0 ts=4 sw=4 tw=0 noet :*/