aboutsummaryrefslogtreecommitdiff
path: root/ft_isalpha.c
diff options
context:
space:
mode:
Diffstat (limited to 'ft_isalpha.c')
-rw-r--r--ft_isalpha.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ft_isalpha.c b/ft_isalpha.c
new file mode 100644
index 0000000..cd09abb
--- /dev/null
+++ b/ft_isalpha.c
@@ -0,0 +1,4 @@
+int ft_isalpha(int c)
+{
+ return ((c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z'));
+}