ReactOS 0.4.15-dev-7928-g68a8619
string.c File Reference
#include <ctype.h>
#include "wine/config.h"
#include "wine/port.h"
Include dependency graph for string.c:

Go to the source code of this file.

Functions

int _stricmp (const char *str1, const char *str2)
 

Function Documentation

◆ _stricmp()

int _stricmp ( const char str1,
const char str2 
)

Definition at line 11 of file string.c.

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}
int toupper(int c)
Definition: utclib.c:881