aboutsummaryrefslogtreecommitdiff
path: root/src/string/wcsncpy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/string/wcsncpy.c')
-rw-r--r--src/string/wcsncpy.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/string/wcsncpy.c b/src/string/wcsncpy.c
index 4bede04d..35d6093a 100644
--- a/src/string/wcsncpy.c
+++ b/src/string/wcsncpy.c
@@ -7,3 +7,11 @@ wchar_t *wcsncpy(wchar_t *restrict d, const wchar_t *restrict s, size_t n)
wmemset(d, 0, n);
return a;
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif