| // | |
| // wcscat.cpp | |
| // | |
| // Copyright (c) Microsoft Corporation. All rights reserved. | |
| // | |
| // Defines wcscat(), which concatenates (appends) a copy of the source string to | |
| // the end of the destination string. | |
| // | |
| // This function assumes that the destination buffer is sufficiently large to | |
| // store the appended string. | |
| // | |
| extern "C" wchar_t * __cdecl wcscat( | |
| wchar_t* const destination, | |
| wchar_t const* source | |
| ) | |
| { | |
| wcscpy(destination + wcslen(destination), source); | |
| return destination; | |
| } | |