1
0
mirror of https://github.com/adtools/clib2.git synced 2025-12-08 14:59:05 +00:00

Implement few wide char functions.

This commit is contained in:
Sebastian Bauer
2018-03-28 17:09:18 +02:00
parent 846eebc66c
commit 6f3b3b6d28
14 changed files with 59 additions and 28 deletions

View File

@ -37,9 +37,12 @@
/****************************************************************************/
/* Implementation based on musl */
wchar_t *
wmemcpy(wchar_t *dest, const wchar_t *src, size_t len)
{
/* ZZZ unimplemented */
return(NULL);
wchar_t *a = dest;
while (len--) *dest++ = *src++;
return a;
}