summaryrefslogtreecommitdiff
path: root/src/ctype/iswalpha.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ctype/iswalpha.c')
-rw-r--r--src/ctype/iswalpha.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ctype/iswalpha.c b/src/ctype/iswalpha.c
new file mode 100644
index 00000000..0f031eac
--- /dev/null
+++ b/src/ctype/iswalpha.c
@@ -0,0 +1,6 @@
+#include <wctype.h>
+
+int iswalpha(wint_t wc)
+{
+ return (32U|wc)-'a'<26;
+}