Sign in
coral
/
optee-os-mtk
/
2338a97153efe0007bd01237d8e485c2a70964ca
/
.
/
lib
/
libutils
/
isoc
/
tolower.c
blob: 1700b9d36a82d73062e177bdbe96722b5ca0871c [
file
] [
log
] [
blame
]
// SPDX-License-Identifier: BSD-2-Clause
/*
* Copyright (c) 2015, Linaro Limited
*/
#include
<ctype.h>
int
tolower
(
int
c
)
{
if
(
c
>=
'A'
&&
c
<=
'Z'
)
return
c
-
'A'
+
'a'
;
return
c
;
}