projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add all missing wchar functions except floating point parsers
[musl]
/
src
/
string
/
wcpncpy.c
diff --git a/src/string/wcpncpy.c
b/src/string/wcpncpy.c
new file mode 100644
(file)
index 0000000..
aef8096
--- /dev/null
+++ b/
src/string/wcpncpy.c
@@ -0,0
+1,6
@@
+#include <wchar.h>
+
+wchar_t *wcpncpy(wchar_t *d, const wchar_t *s, size_t n)
+{
+ return wcsncpy(d, s, n) + wcsnlen(s, n);
+}