aboutsummaryrefslogtreecommitdiff
path: root/system/include/xlocale.h
blob: 6867d25f7c18142ed99533c8f91726b5905263af (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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#ifndef _XLOCALE_H_
#define _XLOCALE_H_

#include <string.h>
#include <locale.h>

#ifdef __cplusplus
extern "C" {
#endif

int strcoll_l(const char *s1, const char *s2, locale_t locale);
int wcscoll_l(const wchar_t *ws1, const wchar_t *ws2, locale_t locale);

size_t strxfrm_l(char *s1, const char *s2, size_t n, locale_t locale);
size_t wcsxfrm_l(wchar_t *ws1, const wchar_t *ws2, size_t n, locale_t locale);

int isxdigit_l(int c, locale_t locale);
int isdigit_l(int c, locale_t locale);
int toupper_l(int c, locale_t locale);
int tolower_l(int c, locale_t locale);

int iswspace_l(wint_t wc, locale_t locale);
int iswupper_l(wint_t wc, locale_t locale);
int iswlower_l(wint_t wc, locale_t locale);
int iswprint_l(wint_t wc, locale_t locale);
int iswcntrl_l(wint_t wc, locale_t locale);
int iswalpha_l(wint_t wc, locale_t locale);
int iswdigit_l(wint_t wc, locale_t locale);
int iswpunct_l(wint_t wc, locale_t locale);
int iswblank_l(wint_t wc, locale_t locale);
int iswxdigit_l(wint_t wc, locale_t locale);
int towupper_l(wint_t wc, locale_t locale);
int towlower_l(wint_t wc, locale_t locale);

size_t strftime_l(char *s, size_t maxsize, const char *format, const struct tm *timeptr, locale_t locale);

#ifdef __cplusplus
}
#endif

#endif /* _XLOCALE_H_ */