mirror of
https://github.com/reactos/reactos.git
synced 2025-05-21 10:05:35 +00:00
23 lines
537 B
C++
23 lines
537 B
C++
![]() |
//
|
||
|
// strncat_s.cpp
|
||
|
//
|
||
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||
|
//
|
||
|
// Defines strncat_s(), which appends n characters of the source string onto the
|
||
|
// end of the destination string.
|
||
|
//
|
||
|
#include <corecrt_internal_string_templates.h>
|
||
|
#include <string.h>
|
||
|
|
||
|
|
||
|
|
||
|
extern "C" errno_t __cdecl strncat_s(
|
||
|
char* const destination,
|
||
|
size_t const size_in_elements,
|
||
|
char const* const source,
|
||
|
size_t const count
|
||
|
)
|
||
|
{
|
||
|
return common_tcsncat_s(destination, size_in_elements, source, count);
|
||
|
}
|