| 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 | *wcsncat_s.c - append n chars of string to new string |
| 7 | * |
| 8 | |
| 9 | * |
| 10 | *Purpose: |
| 11 | * defines wcsncat_s() - appends n characters of string onto |
| 12 | * end of other string |
| 13 | * |
| 14 | *******************************************************************************/ |
| 15 | |
| 16 | #define _SECURECRT_FILL_BUFFER 1 |
| 17 | #define _SECURECRT_FILL_BUFFER_THRESHOLD ((size_t)8) |
| 18 | |
| 19 | #include <string.h> |
| 20 | #include <errno.h> |
| 21 | #include <limits.h> |
| 22 | #include "internal_securecrt.h" |
| 23 | |
| 24 | #include "mbusafecrt_internal.h" |
| 25 | |
| 26 | #define _FUNC_PROLOGUE |
| 27 | #define _FUNC_NAME wcsncat_s |
| 28 | #define _CHAR wchar_t |
| 29 | #define _DEST _Dst |
| 30 | #define _SIZE _SizeInWords |
| 31 | #define _SRC _Src |
| 32 | #define _COUNT _Count |
| 33 | |
| 34 | #include "tcsncat_s.inl" |
| 35 | |
| 36 | |