Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
musl
/
6651ef1f060738ee1f50cac1fe6d8ce64c359022
/
.
/
src
/
multibyte
/
mbstowcs.c
blob: dc0d459480e26113a9b527cd160a7df8b7af7aa8 [
file
] [
log
] [
blame
]
#include
<stdlib.h>
#include
<wchar.h>
size_t
mbstowcs
(
wchar_t
*
restrict ws
,
const
char
*
restrict s
,
size_t
wn
)
{
return
mbsrtowcs
(
ws
,
(
void
*)&
s
,
wn
,
0
);
}