Sign in
coral
/
optee-os-mtk
/
91fc6bd89309eebdfbe3d7203a046958b8c5a3eb
/
.
/
lib
/
libutils
/
isoc
/
ispunct.c
blob: 44ddf34a2d2b4d6c7e7b7e90f6d4de67cdd99f2b [
file
] [
log
] [
blame
]
// SPDX-License-Identifier: BSD-2-Clause
/*
* Copyright (c) 2019, KAIST
*/
#include
<ctype.h>
int
ispunct
(
int
c
)
{
return
isgraph
(
c
)
&&
!
isalnum
(
c
);
}