Implemented _mbsupr.

This commit is contained in:
Francois Gouget 2001-09-17 19:02:21 +00:00 committed by Alexandre Julliard
parent 49c7aff248
commit bab91aa4af
2 changed files with 23 additions and 1 deletions

View File

@ -571,6 +571,28 @@ unsigned char * _mbslwr( unsigned char *string )
}
/*********************************************************************
* _mbsupr(MSVCRT.@)
*/
unsigned char * _mbsupr( unsigned char *string )
{
unsigned char *p;
if(MSVCRT___mb_cur_max > 1)
{
FIXME("%s\n",string);
return string;
}
p = string;
while (*p)
{
*p= toupper(*p);
p++;
}
return string;
}
/*********************************************************************
* _mbsnbcpy(MSVCRT.@)
*/

View File

@ -392,7 +392,7 @@ debug_channels (msvcrt)
@ cdecl _mbsstr(str str) strstr
@ stub _mbstok #(str str)
@ cdecl _mbstrlen(str) _mbstrlen
@ stub _mbsupr #(str)
@ cdecl _mbsupr(str) _mbsupr
@ cdecl _memccpy(ptr ptr long long) memccpy
@ forward -noimport _memicmp ntdll._memicmp
@ cdecl _mkdir(str) _mkdir