ReactOS
0.4.16-dev-1972-gf20c09f
_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
}
__cdecl
#define __cdecl
Definition:
accygwin.h:79
_wcsupr
_wcsupr
Definition:
corecrt_wstring.h:420
_String
_String
Definition:
corecrt_wstring.h:345
p
GLfloat GLfloat p
Definition:
glext.h:8902
_Inout_z_
#define _Inout_z_
Definition:
no_sal2.h:166
sdk
lib
crt
wstring
_wcsupr_nt.c
Generated on Fri Dec 12 2025 06:15:53 for ReactOS by
1.9.6