mirror of
https://github.com/reactos/reactos.git
synced 2024-10-31 03:48:17 +00:00
e884290d29
Fixes crash in msvcrt_winetest:string. This is a hack and is supposed to be specific to the C locale.
30 lines
407 B
C
30 lines
407 B
C
/*
|
|
* The C RunTime DLL
|
|
*
|
|
* Implements C run-time functionality as known from UNIX.
|
|
*
|
|
* Copyright 1996,1998 Marcus Meissner
|
|
* Copyright 1996 Jukka Iivonen
|
|
* Copyright 1997 Uwe Bonnes
|
|
*/
|
|
|
|
#include <precomp.h>
|
|
|
|
/*
|
|
* @implemented
|
|
*/
|
|
char * CDECL _strupr(char *x)
|
|
{
|
|
char *y=x;
|
|
char ch, upper;
|
|
|
|
while (*y) {
|
|
ch = *y;
|
|
upper = toupper(ch);
|
|
if (ch != upper)
|
|
*y = upper;
|
|
y++;
|
|
}
|
|
return x;
|
|
}
|