| 1 | // Licensed to the .NET Foundation under one or more agreements. |
| 2 | // The .NET Foundation licenses this file to you under the MIT license. |
| 3 | // See the LICENSE file in the project root for more information. |
| 4 | |
| 5 | /*** |
| 6 | *wcscat_s.c - contains wcscat_s() |
| 7 | * |
| 8 | |
| 9 | * |
| 10 | *Purpose: |
| 11 | * wcscat_s() appends one wchar_t string onto another. |
| 12 | * |
| 13 | * wcscat() concatenates (appends) a copy of the source string to the |
| 14 | * end of the destination string. |
| 15 | * Strings are wide-character strings. |
| 16 | * |
| 17 | *******************************************************************************/ |
| 18 | |
| 19 | #define _SECURECRT_FILL_BUFFER 1 |
| 20 | #define _SECURECRT_FILL_BUFFER_THRESHOLD ((size_t)8) |
| 21 | |
| 22 | #include <string.h> |
| 23 | #include <errno.h> |
| 24 | #include <limits.h> |
| 25 | #include "internal_securecrt.h" |
| 26 | |
| 27 | #include "mbusafecrt_internal.h" |
| 28 | |
| 29 | #define _FUNC_PROLOGUE |
| 30 | #define _FUNC_NAME wcscat_s |
| 31 | #define _CHAR wchar_t |
| 32 | #define _DEST _Dst |
| 33 | #define _SIZE _SizeInBytes |
| 34 | #define _SRC _Src |
| 35 | |
| 36 | #include "tcscat_s.inl" |
| 37 | |