xref: /optee_os/lib/libutils/isoc/isgraph.c (revision b6afa13a5fe7d94666ba7a5e2c98ba78dc22092d)
1 // SPDX-License-Identifier: BSD-2-Clause
2 /*
3  * Copyright (c) 2019, KAIST
4  */
5 #include <ctype.h>
6 
7 int isgraph(int c)
8 {
9 	if (c >= 0x21 && c < 0x7f)
10 		return 1;
11 	return 0;
12 }
13