Sign in
fuchsia
/
fuchsia
/
refs/heads/releases/canary
/
.
/
zircon
/
third_party
/
ulib
/
musl
/
src
/
multibyte
/
wctomb.c
blob: 2848ea6501d38d23701bab318135e67ba593d248 [
file
] [
log
] [
blame
]
#include
<stdlib.h>
#include
<wchar.h>
int
wctomb
(
char
*
s
,
wchar_t
wc
)
{
if
(!
s
)
return
0
;
return
wcrtomb
(
s
,
wc
,
0
);
}