ReactOS
0.4.16-dev-2633-g8dc9e50
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
}
corecrt_internal_string_templates.h
size_in_elements
size_t const size_in_elements
Definition:
corecrt_internal_string_templates.h:21
errno_t
int errno_t
Definition:
corecrt.h:249
__cdecl
#define __cdecl
Definition:
corecrt.h:121
strcpy_s
errno_t __cdecl strcpy_s(char *const destination, size_t const size_in_elements, char const *const source)
Definition:
strcpy_s.cpp:13
source
Definition:
pdh_main.c:174
sdk
lib
ucrt
string
strcpy_s.cpp
Generated on Wed Apr 22 2026 06:17:06 for ReactOS by
1.9.6