From fbfc078e9f44c1c1e95c9c484f1d5650bcf631b7 Mon Sep 17 00:00:00 2001 From: Benji Dial Date: Sat, 27 Jul 2024 16:57:39 -0400 Subject: lots and lots of userspace stuff --- euler/source/std/cctype.cpp | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 euler/source/std/cctype.cpp (limited to 'euler/source/std/cctype.cpp') diff --git a/euler/source/std/cctype.cpp b/euler/source/std/cctype.cpp new file mode 100644 index 0000000..a35d1a5 --- /dev/null +++ b/euler/source/std/cctype.cpp @@ -0,0 +1,7 @@ +#include + +extern "C" int isspace(int ch) { + return + ch == ' ' || ch == '\f' || ch == '\n' || + ch == '\r' || ch == '\t' || ch == '\v'; +} -- cgit v1.2.3