mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-21 09:49:21 +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
Notes:
sideshowbarker
2024-07-18 03:53:29 +09:00
Author: https://github.com/timschumi
Commit: 328818af97
Pull-request: https://github.com/SerenityOS/serenity/pull/10058
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