@@ -1,6 +1,6 @@
|
||||
/*++
|
||||
|
||||
Copyright (c) 2024, Quinn Stephens.
|
||||
Copyright (c) 2024-2025, Quinn Stephens.
|
||||
Provided under the BSD 3-Clause license.
|
||||
|
||||
Module Name:
|
||||
@@ -64,7 +64,7 @@ memmove (
|
||||
|
||||
/* Check for overlap */
|
||||
if (src > dest || ((char *)src + count) < (char *)dest) {
|
||||
/* Low-to-high copy, use memcpy() */
|
||||
/* Low-to-high copy */
|
||||
return memcpy(dest, src, count);
|
||||
}
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
/*++
|
||||
|
||||
Copyright (c) 2024, Quinn Stephens.
|
||||
Copyright (c) 2024-2025, Quinn Stephens.
|
||||
Provided under the BSD 3-Clause license.
|
||||
|
||||
Module Name:
|
||||
@@ -50,8 +50,8 @@ strnlen (
|
||||
|
||||
int
|
||||
strcmp (
|
||||
const char* s1,
|
||||
const char* s2
|
||||
const char *s1,
|
||||
const char *s2
|
||||
)
|
||||
|
||||
{
|
||||
@@ -69,8 +69,8 @@ strcmp (
|
||||
|
||||
int
|
||||
strncmp (
|
||||
const char* s1,
|
||||
const char* s2,
|
||||
const char *s1,
|
||||
const char *s2,
|
||||
size_t n
|
||||
)
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
/*++
|
||||
|
||||
Copyright (c) 2024, Quinn Stephens.
|
||||
Copyright (c) 2024-2025, Quinn Stephens.
|
||||
Provided under the BSD 3-Clause license.
|
||||
|
||||
Module Name:
|
||||
@@ -61,7 +61,7 @@ wmemmove (
|
||||
|
||||
/* Check for overlap */
|
||||
if (src > dest || ((wchar_t *)src + count) < (wchar_t *)dest) {
|
||||
/* Low-to-high copy, use wmemcpy() */
|
||||
/* Low-to-high copy */
|
||||
return wmemcpy(dest, src, count);
|
||||
}
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
/*++
|
||||
|
||||
Copyright (c) 2024, Quinn Stephens.
|
||||
Copyright (c) 2024-2025, Quinn Stephens.
|
||||
Provided under the BSD 3-Clause license.
|
||||
|
||||
Module Name:
|
||||
@@ -50,8 +50,8 @@ wcsnlen (
|
||||
|
||||
int
|
||||
wcscmp (
|
||||
const wchar_t* s1,
|
||||
const wchar_t* s2
|
||||
const wchar_t *s1,
|
||||
const wchar_t *s2
|
||||
)
|
||||
|
||||
{
|
||||
@@ -69,8 +69,8 @@ wcscmp (
|
||||
|
||||
int
|
||||
wcsncmp (
|
||||
const wchar_t* s1,
|
||||
const wchar_t* s2,
|
||||
const wchar_t *s1,
|
||||
const wchar_t *s2,
|
||||
size_t n
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user