summaryrefslogtreecommitdiff
path: root/Libraries/LibC/locale.h
blob: 26b5367434dd81b5bdbd28bee27bbbed67008dd2 (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
25
#pragma once

#include <sys/cdefs.h>

__BEGIN_DECLS

enum {
    LC_ALL,
    LC_NUMERIC,
    LC_CTYPE,
    LC_COLLATE,
    LC_TIME,
    LC_MONETARY,
};

struct lconv {
    char* decimal_point;
    char* thousands_sep;
    char* grouping;
};

struct lconv* localeconv();
char* setlocale(int category, const char* locale);

__END_DECLS