projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
more fmemopen null termination fixes
[oweals/musl.git]
/
src
/
string
/
wmemcpy.c
1
#include <string.h>
2
#include <wchar.h>
3
4
wchar_t *wmemcpy(wchar_t *d, const wchar_t *s, size_t n)
5
{
6
wchar_t *a = d;
7
while (n--) *d++ = *s++;
8
return a;
9
}