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 | *strcat_s.c - contains strcat_s() |
7 | * |
8 | |
9 | * |
10 | *Purpose: |
11 | * strcat_s() concatenates (appends) a copy of the source string to the |
12 | * end of the destination 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 strcat_s |
28 | #define _CHAR char |
29 | #define _DEST _Dst |
30 | #define _SIZE _SizeInBytes |
31 | #define _SRC _Src |
32 | |
33 | #include "tcscat_s.inl" |
34 | |