source:
trunk/sys/dietlibc/wcscat.c
@
428
Last change on this file since 428 was 1, checked in by , 8 years ago | |
---|---|
File size: 254 bytes |
Rev | Line | |
---|---|---|
[1] | 1 | #include <wchar.h> |
2 | ||
3 | wchar_t* wcscat(wchar_t *__restrict__ dest, const wchar_t *__restrict__ src) { | |
4 | wchar_t* orig=dest; | |
5 | for (; *dest; ++dest) ; /* go to end of dest */ | |
6 | for (; (*dest=*src); ++src,++dest) ; /* then append from src */ | |
7 | return orig; | |
8 | } |
Note: See TracBrowser
for help on using the repository browser.