Commit 53332069 authored by Alexandre Julliard's avatar Alexandre Julliard

Added memicmpW.

parent 6b1a9311
......@@ -86,6 +86,7 @@ extern int wine_fold_string( int flags, const WCHAR *src, int srclen , WCHAR *ds
extern int strcmpiW( const WCHAR *str1, const WCHAR *str2 );
extern int strncmpiW( const WCHAR *str1, const WCHAR *str2, int n );
extern int memicmpW( const WCHAR *str1, const WCHAR *str2, int n );
extern WCHAR *strstrW( const WCHAR *str, const WCHAR *sub );
extern long int strtolW( const WCHAR *nptr, WCHAR **endptr, int base );
extern unsigned long int strtoulW( const WCHAR *nptr, WCHAR **endptr, int base );
......
......@@ -42,6 +42,14 @@ int strncmpiW( const WCHAR *str1, const WCHAR *str2, int n )
return ret;
}
int memicmpW( const WCHAR *str1, const WCHAR *str2, int n )
{
int ret = 0;
for ( ; n > 0; n--, str1++, str2++)
if ((ret = tolowerW(*str1) - tolowerW(*str2))) break;
return ret;
}
WCHAR *strstrW( const WCHAR *str, const WCHAR *sub )
{
while (*str)
......
LIBRARY libwine_unicode.dll
EXPORTS
memicmpW
snprintfW
sprintfW
strcmpiW
......
WINE_1.0
{
global:
memicmpW;
snprintfW;
sprintfW;
strcmpiW;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment