diff options
Diffstat (limited to 'src/wchar/wcsncat.c')
-rw-r--r-- | src/wchar/wcsncat.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/wchar/wcsncat.c b/src/wchar/wcsncat.c new file mode 100644 index 00000000..8dccba65 --- /dev/null +++ b/src/wchar/wcsncat.c @@ -0,0 +1,12 @@ +#include <wchar.h> + +wchar_t * wcsncat(wchar_t * restrict s1, const wchar_t * restrict s2, size_t n) +{ + wcsncpy(s1 + wcslen(s1), s2, n); + /* ensure trailing nul */ + return s1; +} + +/* +STDC(199409) +*/ |