ReactOS
0.4.16-dev-1946-g52006dd
strcpy_s.cpp
Go to the documentation of this file.
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
}
__cdecl
#define __cdecl
Definition:
accygwin.h:79
corecrt_internal_string_templates.h
size_in_elements
size_t const size_in_elements
Definition:
corecrt_internal_string_templates.h:21
strcpy_s
#define strcpy_s(d, l, s)
Definition:
utility.h:200
source
Definition:
pdh_main.c:174
errno_t
int errno_t
Definition:
corecrt.h:615
sdk
lib
ucrt
string
strcpy_s.cpp
Generated on Thu Dec 4 2025 06:16:23 for ReactOS by
1.9.6