mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 09:24:57 +00:00
LibC: Provide a dummy mbstate_t in wchar.h
POSIX just says that mbstate_t should be an "object type other than an array type" that can hold the conversion state for converting between (multi-byte) characters and wide characters. Since no other information regarding the contents is given, this apparently means that we should add whatever we need once we start implementing that conversion.
This commit is contained in:
parent
8f9af4a582
commit
328818af97
1 changed files with 3 additions and 0 deletions
|
@ -18,6 +18,9 @@ __BEGIN_DECLS
|
|||
typedef __WINT_TYPE__ wint_t;
|
||||
typedef unsigned long int wctype_t;
|
||||
|
||||
typedef struct {
|
||||
} mbstate_t;
|
||||
|
||||
size_t wcslen(const wchar_t*);
|
||||
wchar_t* wcscpy(wchar_t*, const wchar_t*);
|
||||
wchar_t* wcsncpy(wchar_t*, const wchar_t*, size_t);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue