summaryrefslogtreecommitdiffstats
path: root/src/include/ctype.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/ctype.h')
-rw-r--r--src/include/ctype.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/ctype.h b/src/include/ctype.h
index 9f5127bf1..e92ecb1c0 100644
--- a/src/include/ctype.h
+++ b/src/include/ctype.h
@@ -12,6 +12,7 @@ FILE_LICENCE ( GPL2_OR_LATER );
#define islower(c) ((c) >= 'a' && (c) <= 'z')
#define isupper(c) ((c) >= 'A' && (c) <= 'Z')
#define isxdigit(c) (isdigit(c) || ((c) >= 'A' && (c) <= 'F') || ((c) >= 'a' && (c) <= 'f'))
+#define isprint(c) ((c) >= ' ' && (c) <= '~' )
static inline unsigned char tolower(unsigned char c)
{