ReactOS
0.4.16-dev-598-gc07fba4
string.c
Go to the documentation of this file.
1
#include <ctype.h>
2
#include "
wine/config.h
"
3
#include "wine/port.h"
4
5
#ifndef HAVE_STRCASECMP
6
7
#ifdef _stricmp
8
# undef _stricmp
9
#endif
10
11
int
_stricmp
(
const
char
*str1,
const
char
*str2 )
12
{
13
const
unsigned
char
*ustr1 = (
const
unsigned
char
*)str1;
14
const
unsigned
char
*ustr2 = (
const
unsigned
char
*)str2;
15
16
while
(*ustr1 &&
toupper
(*ustr1) ==
toupper
(*ustr2)) {
17
ustr1++;
18
ustr2++;
19
}
20
return
toupper
(*ustr1) -
toupper
(*ustr2);
21
}
22
#endif
toupper
int toupper(int c)
Definition:
utclib.c:881
_stricmp
#define _stricmp
Definition:
cat.c:22
config.h
sdk
lib
3rdparty
libwine
string.c
Generated on Sat Jan 25 2025 06:15:30 for ReactOS by
1.9.6