From 5b653ccffdc33c8774697a93cad0b499b88dca71 Mon Sep 17 00:00:00 2001 From: Charles Date: Sun, 28 Jul 2019 21:12:28 +0200 Subject: std library function almost done, tested with libft-unit-tests --- ft_isalpha.c | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 ft_isalpha.c (limited to 'ft_isalpha.c') 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')); +} -- cgit