mirror of
https://github.com/fluencelabs/musl
synced 2025-06-28 22:22:01 +00:00
initial check-in, version 0.5.0
This commit is contained in:
10
src/string/wcsncat.c
Normal file
10
src/string/wcsncat.c
Normal file
@ -0,0 +1,10 @@
|
||||
#include <wchar.h>
|
||||
|
||||
wchar_t *wcsncat(wchar_t *d, const wchar_t *s, size_t n)
|
||||
{
|
||||
wchar_t *a = d;
|
||||
d += wcslen(d);
|
||||
while (n && (*d++ = *s++)) n--;
|
||||
*d++ = 0;
|
||||
return a;
|
||||
}
|
Reference in New Issue
Block a user