ReactOS
0.4.16-dev-109-gf4cb10f
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
*/
16
char
*
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
}
toupper
int toupper(int c)
Definition:
utclib.c:881
CDECL
#define CDECL
Definition:
compat.h:29
x
GLint GLint GLint GLint GLint x
Definition:
gl.h:1548
y
GLint GLint GLint GLint GLint GLint y
Definition:
gl.h:1548
_strupr
char *CDECL _strupr(char *x)
Definition:
strupr.c:16
sdk
lib
crt
string
strupr.c
Generated on Wed Oct 9 2024 06:19:27 for ReactOS by
1.9.6