summaryrefslogtreecommitdiff
path: root/include/ctype.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ctype.h')
-rw-r--r--include/ctype.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/include/ctype.h b/include/ctype.h
new file mode 100644
index 0000000..c5f92b4
--- /dev/null
+++ b/include/ctype.h
@@ -0,0 +1,22 @@
+/**
+ * @file ctype.h
+ *
+ * @author Freya Murphy <freya@freyacat.org>
+ *
+ * C type libaray functions
+ */
+
+#ifndef _CTYPE_H
+#define _CTYPE_H
+
+/**
+ * @returns 1 if c is a space
+ */
+extern int isspace(int c);
+
+/**
+ * @returns 1 if c is a digit (0 - 9)
+ */
+extern int isdigit(int c);
+
+#endif /* ctype.h */