ReactOS
0.4.16-dev-927-g467dec4
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
Functions
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
Variables
_
c
d
e
f
g
h
i
l
m
n
o
p
s
t
u
x
Typedefs
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
x
Enumerations
_
a
b
c
d
f
i
l
m
o
p
s
t
w
x
Enumerator
a
b
c
d
e
f
g
h
i
m
n
o
p
r
s
t
u
v
w
x
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
u
v
w
z
Enumerator
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Related Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
v
x
Files
File List
File Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Examples
Functions
memicmp.c File Reference
#include <precomp.h>
Include dependency graph for memicmp.c:
Go to the source code of this file.
Functions
int
CDECL
_memicmp
(
const
void
*
s1
,
const
void
*
s2
,
size_t
n
)
Function Documentation
◆
_memicmp()
int
CDECL
_memicmp
(
const
void
*
s1
,
const
void
*
s2
,
size_t
n
)
Definition at line
9
of file
memicmp.c
.
10
{
11
if
(
NtCurrentPeb
()->OSMajorVersion >= 6)
12
{
13
if
(!
s1
|| !
s2
)
14
{
15
if
(
n
!= 0)
16
{
17
MSVCRT_INVALID_PMT
(
NULL
,
EINVAL
);
18
return
_NLSCMPERROR
;
19
}
20
return
0;
21
}
22
}
23
24
if
(
n
!= 0)
25
{
26
const
unsigned
char
*p1 =
s1
, *p2 =
s2
;
27
28
do
{
29
if
(
toupper
(*p1) !=
toupper
(*p2))
30
return
(*p1 - *p2);
31
p1++;
32
p2++;
33
}
while
(--
n
!= 0);
34
}
35
return
0;
36
}
NtCurrentPeb
#define NtCurrentPeb()
Definition:
FLS.c:22
EINVAL
#define EINVAL
Definition:
acclib.h:90
toupper
int toupper(int c)
Definition:
utclib.c:881
NULL
#define NULL
Definition:
types.h:112
n
GLdouble n
Definition:
glext.h:7729
s1
struct S1 s1
s2
struct S2 s2
MSVCRT_INVALID_PMT
#define MSVCRT_INVALID_PMT(x)
Definition:
mbstowcs_s.c:25
_NLSCMPERROR
#define _NLSCMPERROR
Definition:
string.h:19
sdk
lib
crt
mem
memicmp.c
Generated on Sun Mar 30 2025 06:24:06 for ReactOS by
1.9.6