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 | *strcpy_s.c - contains wcscpy_s() |
7 | * |
8 | |
9 | * |
10 | *Purpose: |
11 | * wcscpy_s() copies one string onto another. |
12 | * |
13 | *******************************************************************************/ |
14 | |
15 | #define _SECURECRT_FILL_BUFFER 1 |
16 | #define _SECURECRT_FILL_BUFFER_THRESHOLD ((size_t)8) |
17 | |
18 | #include <string.h> |
19 | #include <errno.h> |
20 | #include <limits.h> |
21 | #include "internal_securecrt.h" |
22 | |
23 | #include "mbusafecrt_internal.h" |
24 | |
25 | #define _FUNC_PROLOGUE |
26 | #define _FUNC_NAME wcscpy_s |
27 | #define _CHAR wchar_t |
28 | #define _DEST _Dst |
29 | #define _SIZE _SizeInWords |
30 | #define _SRC _Src |
31 | |
32 | #include "tcscpy_s.inl" |
33 | |
34 | |