File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22#include <stddef.h>
33#include <tchar.h>
44
5- #if defined(_MSC_VER ) && (defined(_M_ARM ) || _MSC_VER >= 1932 ) // VS2022 version 17.2 and later
6- #pragma function(_tcsncmp)
7- #endif /* _MSC_VER */
85
96int _tcsncmp (const _TCHAR * s1 , const _TCHAR * s2 , size_t n )
107{
Original file line number Diff line number Diff line change 22#include <stddef.h>
33#include <tchar.h>
44
5- #if defined(_MSC_VER ) && (defined(_M_ARM ) || _MSC_VER >= 1932 ) // VS2022 version 17.2 and later
6- #pragma function(_tcsncpy)
7- #endif /* _MSC_VER */
8-
95_TCHAR * _tcsncpy (_TCHAR * dst , const _TCHAR * src , size_t n )
106{
117 if (n != 0 )
Original file line number Diff line number Diff line change 1111
1212#include <string.h>
1313
14- #if defined(_MSC_VER ) && (defined(_M_ARM ) || _MSC_VER >= 1932 ) // VS2022 version 17.2 and later
15- #pragma function(strncmp)
16- #endif
17-
1814/***
1915*int strncmp(first, last, count) - compare first count chars of strings
2016*
Original file line number Diff line number Diff line change 1010
1111#include <string.h>
1212
13- #if defined(_MSC_VER ) && (defined(_M_ARM ) || _MSC_VER >= 1932 ) // VS2022 version 17.2 and later
14- #pragma function(strncpy)
15- #endif
16-
1713/***
1814*char *strncpy(dest, source, count) - copy at most n characters
1915*
Original file line number Diff line number Diff line change 1717//
1818#include < string.h>
1919
20-
21-
22- #if defined(_MSC_VER) && (defined(_M_ARM) || _MSC_VER >= 1932) // VS2022 version 17.2 and later
23- #pragma function(wcsncmp)
24- #endif
25-
26-
27-
2820extern " C" int __cdecl wcsncmp (
2921 wchar_t const * a,
3022 wchar_t const * b,
Original file line number Diff line number Diff line change 1111
1212#pragma warning(disable:__WARNING_POSTCONDITION_NULLTERMINATION_VIOLATION) // 26036
1313
14-
15- #if defined(_MSC_VER) && (defined(_M_ARM) || _MSC_VER >= 1932) // VS2022 version 17.2 and later
16- #pragma function(wcsncpy)
17- #endif
18-
19-
20-
2114extern " C" wchar_t * __cdecl wcsncpy (
2215 wchar_t * const destination,
2316 wchar_t const * const source,
You can’t perform that action at this time.
0 commit comments