OSDN Git Service
(root)
/
android-x86
/
external-musl-libc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge remote-tracking branch 'nsz/exp'
[android-x86/external-musl-libc.git]
/
src
/
string
/
wmemmove.c
1
#include <string.h>
2
#include <wchar.h>
3
4
wchar_t *wmemmove(wchar_t *d, const wchar_t *s, size_t n)
5
{
6
if ((size_t)(d-s) < n) {
7
while (n--) d[n] = s[n];
8
return d;
9
}
10
return wmemcpy(d, s, n);
11
}