ReactOS
0.4.16-dev-2104-gb84fa49
_wcsupr_nt.c
Go to the documentation of this file.
1
/*
2
* PROJECT: ReactOS NT CRT library
3
* LICENSE: MIT (https://spdx.org/licenses/MIT)
4
* PURPOSE: Implementation of _wcsupr
5
* COPYRIGHT: Copyright 2025 Timo Kreuzer <timo.kreuzer@reactos.org>
6
*/
7
8
#include <string.h>
9
10
wchar_t
*
11
__cdecl
12
_wcsupr
(
13
_Inout_z_
wchar_t
*
_String
)
14
{
15
wchar_t
ch
, *
p
;
16
17
for
(
p
=
_String
; *
p
;
p
++)
18
{
19
ch
= *
p
;
20
if
((
ch
>=
'a'
) && (
ch
<=
'z'
))
21
{
22
*
p
+=
'A'
-
'a'
;
23
}
24
}
25
26
return
_String
;
27
}
ch
unsigned char ch[4][2]
Definition:
console.c:118
__cdecl
#define __cdecl
Definition:
corecrt.h:121
p
GLfloat GLfloat p
Definition:
glext.h:8902
_Inout_z_
#define _Inout_z_
Definition:
no_sal2.h:166
_wcsupr
_wcsupr
Definition:
corecrt_wstring.h:420
_String
_String
Definition:
corecrt_wstring.h:345
sdk
lib
crt
wstring
_wcsupr_nt.c
Generated on Wed Jan 7 2026 06:15:30 for ReactOS by
1.9.6