Commit bab91aa4 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

Implemented _mbsupr.

parent 49c7aff2
......@@ -572,6 +572,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.@)
*/
unsigned char * _mbsnbcpy(unsigned char *dest,const unsigned char *src,MSVCRT_size_t n)
......
......@@ -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
......
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