Sign in
coral
/
optee-os-mtk
/
1c832d7c41cdb2f617bffa74c3d70f7c4a5667fc
/
.
/
lib
/
libutils
/
isoc
/
isalpha.c
blob: 340c084953e2aaffadbe394bda967235399a10c9 [
file
] [
log
] [
blame
]
// SPDX-License-Identifier: BSD-2-Clause
/*
* Copyright (c) 2018, Linaro Limited
*/
#include
<ctype.h>
int
isalpha
(
int
c
)
{
if
(
c
>=
'A'
&&
c
<=
'Z'
)
return
1
;
if
(
c
>=
'a'
&&
c
<=
'z'
)
return
1
;
return
0
;
}