Index: fusl/src/string/wcpncpy.c |
diff --git a/fusl/src/string/wcpncpy.c b/fusl/src/string/wcpncpy.c |
new file mode 100644 |
index 0000000000000000000000000000000000000000..b667f6d6a8dbb5f96b1fdf21f44384aa561a8447 |
--- /dev/null |
+++ b/fusl/src/string/wcpncpy.c |
@@ -0,0 +1,6 @@ |
+#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); |
+} |