projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
elf.h: add ELFCOMPRESS_ZSTD
[musl]
/
src
/
string
/
wcpncpy.c
diff --git
a/src/string/wcpncpy.c
b/src/string/wcpncpy.c
index
aef8096
..
b667f6d
100644
(file)
--- a/
src/string/wcpncpy.c
+++ b/
src/string/wcpncpy.c
@@
-1,6
+1,6
@@
#include <wchar.h>
-wchar_t *wcpncpy(wchar_t *
d, const wchar_t *
s, size_t n)
+wchar_t *wcpncpy(wchar_t *
restrict d, const wchar_t *restrict
s, size_t n)
{
return wcsncpy(d, s, n) + wcsnlen(s, n);
}