Sign in
fuchsia
/
zircon
/
sandbox/travisg/vmalloc
/
.
/
third_party
/
ulib
/
musl
/
src
/
string
/
wcpncpy.c
blob: 3f5d836ea7f598b95193b7b129d2e5bd096607ae [
file
] [
log
] [
blame
]
#include
<wchar.h>
wchar_t
*
wcpncpy
(
wchar_t
*
restrict d
,
const
wchar_t
*
restrict s
,
size_t
n
)
{
return
wcsncpy
(
d
,
s
,
n
)
+
wcsnlen
(
s
,
n
);
}