ReactOS
0.4.16-dev-1972-gf20c09f
tolower_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 tolower
5
* COPYRIGHT: Copyright 2025 Timo Kreuzer <timo.kreuzer@reactos.org>
6
*/
7
8
#include <string.h>
9
10
_Check_return_
11
_CRTIMP
12
int
13
__cdecl
14
tolower
(
15
_In_
int
_C)
16
{
17
if
(((
char
)_C >=
'A'
) && ((
char
)_C <=
'Z'
))
18
{
19
return
_C + (
'a'
-
'A'
);
20
}
21
22
return
_C;
23
}
__cdecl
#define __cdecl
Definition:
accygwin.h:79
_Check_return_
#define _Check_return_
Definition:
no_sal2.h:60
_In_
#define _In_
Definition:
no_sal2.h:158
tolower
_Check_return_ _CRTIMP int __cdecl tolower(_In_ int _C)
Definition:
tolower_nt.c:14
_CRTIMP
#define _CRTIMP
Definition:
vcruntime.h:54
sdk
lib
crt
string
tolower_nt.c
Generated on Fri Dec 12 2025 06:15:50 for ReactOS by
1.9.6