Sign in
coral
/
optee-os-mtk
/
91fc6bd89309eebdfbe3d7203a046958b8c5a3eb
/
.
/
lib
/
libutils
/
isoc
/
toupper.c
blob: 8cfa0d15be20c3fbb27ee785ed3cf1687d148104 [
file
] [
log
] [
blame
]
// SPDX-License-Identifier: BSD-2-Clause
/*
* Copyright (c) 2019, KAIST
*/
#include
<ctype.h>
int
toupper
(
int
c
)
{
if
(
c
>=
'a'
&&
c
<=
'z'
)
return
c
-
'a'
+
'A'
;
return
c
;
}