xref: /reactos/sdk/lib/ucrt/string/strcpy_s.cpp (revision 53d808d2)
1 //
2 // strcpy_s.cpp
3 //
4 //      Copyright (c) Microsoft Corporation.  All rights reserved.
5 //
6 // Defines strcpy_s(), which copies a string from one buffer to another.
7 //
8 #include <corecrt_internal_string_templates.h>
9 #include <string.h>
10 
11 
12 
13 extern "C" errno_t __cdecl strcpy_s(
14     char*       const destination,
15     size_t      const size_in_elements,
16     char const* const source
17     )
18 {
19     return common_tcscpy_s(destination, size_in_elements, source);
20 }
21