ReactOS
0.4.16-dev-1946-g52006dd
Functions
wcscmp.cpp File Reference
#include <string.h>
Include dependency graph for wcscmp.cpp:
Go to the source code of this file.
Functions
int
__cdecl
wcscmp
(
wchar_t
const
*
a
,
wchar_t
const
*
b
)
Function Documentation
◆
wcscmp()
int
__cdecl
wcscmp
(
wchar_t
const
*
a
,
wchar_t
const
*
b
)
Definition at line
29
of file
wcscmp.cpp
.
30
{
31
int
result
= 0;
32
#pragma warning(suppress:__WARNING_POTENTIAL_BUFFER_OVERFLOW_NULLTERMINATED)
// 26018
33
while
((
result
= (
int
)(*
a
- *
b
)) == 0 && *
b
)
34
{
35
++
a
;
36
++
b
;
37
}
38
39
return
((-
result
) < 0) - (
result
< 0);
// (if positive) - (if negative) generates branchless code
40
}
b
GLboolean GLboolean GLboolean b
Definition:
glext.h:6204
result
GLuint64EXT * result
Definition:
glext.h:11304
a
GLboolean GLboolean GLboolean GLboolean a
Definition:
glext.h:6204
a
#define a
Definition:
ke_i.h:78
b
#define b
Definition:
ke_i.h:79
sdk
lib
ucrt
string
wcscmp.cpp
Generated on Thu Dec 4 2025 06:26:50 for ReactOS by
1.9.6