repo.or.cz
/
musl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
support clang internal assembler when building for arm as thumb2 code
[musl.git]
/
src
/
multibyte
/
wctomb.c
blob
bad41c5edf9633941db03c8cfad68d1ec1c3ad03
1
#include <stdlib.h>
2
#include <wchar.h>
3
4
int
wctomb
(
char
*
s
,
wchar_t
wc
)
5
{
6
if
(!
s
)
return
0
;
7
return
wcrtomb
(
s
,
wc
,
0
);
8
}