ReactOS 0.4.16-dev-2104-gb84fa49
strupr.c File Reference
#include <precomp.h>
Include dependency graph for strupr.c:

Go to the source code of this file.

Functions

char *CDECL _strupr (char *x)
 

Function Documentation

◆ _strupr()

char *CDECL _strupr ( char x)

Definition at line 16 of file strupr.c.

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}
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