projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
implement hcreate_r, hdestroy_r and hsearch_r
[oweals/musl.git]
/
src
/
multibyte
/
wcstombs.c
1
#include <stdlib.h>
2
#include <wchar.h>
3
4
size_t wcstombs(char *restrict s, const wchar_t *restrict ws, size_t n)
5
{
6
return wcsrtombs(s, &(const wchar_t *){ws}, n, 0);
7
}