Sign in
coral
/
optee-os-mtk
/
023e33656e2c9557ce50ad63a98b2e2c9b51c118
/
.
/
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
);
}