ReactOS 0.4.15-dev-8191-gbc6c731
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}
int toupper(int c)
Definition: utclib.c:881
#define CDECL
Definition: compat.h:29
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
char *CDECL _strupr(char *x)
Definition: strupr.c:16