summaryrefslogtreecommitdiffstats
path: root/include/wchar.h
blob: 702d8e239a7cb2756695dfbef18df9f4cff90cef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef __WCHAR_H
#define __WCHAR_H

#include <linux/types.h>

typedef u16 wchar_t;

wchar_t *strdup_wchar(const wchar_t *src);

char *strcpy_wchar_to_char(char *dst, const wchar_t *src);

wchar_t *strcpy_char_to_wchar(wchar_t *dst, const char *src);

wchar_t *strdup_char_to_wchar(const char *src);

char *strdup_wchar_to_char(const wchar_t *src);

size_t wcslen(const wchar_t *s);

#endif /* __WCHAR_H */