ReactOS 0.4.16-dev-2104-gb84fa49
strupr.c
Go to the documentation of this file.
1/*
2 * The C RunTime DLL
3 *
4 * Implements C run-time functionality as known from UNIX.
5 *
6 * Copyright 1996,1998 Marcus Meissner
7 * Copyright 1996 Jukka Iivonen
8 * Copyright 1997 Uwe Bonnes
9 */
10
11#include <precomp.h>
12
13/*
14 * @implemented
15 */
16char * CDECL _strupr(char *x)
17{
18 char *y=x;
19 char ch, upper;
20
21 while (*y) {
22 ch = *y;
23 upper = toupper(ch);
24 if (ch != upper)
25 *y = upper;
26 y++;
27 }
28 return x;
29}
#define CDECL
Definition: compat.h:29
unsigned char ch[4][2]
Definition: console.c:118
int CDECL toupper(int c)
Definition: ctype.c:514
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
_strupr
Definition: string.h:453