ReactOS 0.4.15-dev-8419-g7f0e8a3
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}
int toupper(int c)
Definition: utclib.c:881
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548