diff options
Diffstat (limited to 'src/string/wcpncpy.c')
-rw-r--r-- | src/string/wcpncpy.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/string/wcpncpy.c b/src/string/wcpncpy.c index b667f6d6..56610702 100644 --- a/src/string/wcpncpy.c +++ b/src/string/wcpncpy.c @@ -4,3 +4,11 @@ wchar_t *wcpncpy(wchar_t *restrict d, const wchar_t *restrict s, size_t n) { return wcsncpy(d, s, n) + wcsnlen(s, n); } + + +#ifdef TEST +int +main(void) { + return 0; +} +#endif |