source: trunk/sys/dietlibc/wcscat.c @ 45

Last change on this file since 45 was 1, checked in by alain, 8 years ago

First import

File size: 254 bytes
Line 
1#include <wchar.h>
2
3wchar_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.