aboutsummaryrefslogtreecommitdiff
path: root/ft_isalpha.c
diff options
context:
space:
mode:
authorCabergs Charles <cacharle@w-r4-p5.s19.be>2019-10-07 11:35:51 +0200
committerCabergs Charles <cacharle@w-r4-p5.s19.be>2019-10-07 11:35:51 +0200
commit10b4feb67c8af2b099dabd66f948b02e180bae0d (patch)
treee97d3d4701a79ac2087534dd350225e556127a76 /ft_isalpha.c
parent9a2b208985ac7d4644c718ada74770b98eeb4598 (diff)
downloadlibft-10b4feb67c8af2b099dabd66f948b02e180bae0d.tar.gz
libft-10b4feb67c8af2b099dabd66f948b02e180bae0d.tar.bz2
libft-10b4feb67c8af2b099dabd66f948b02e180bae0d.zip
Normed everything
Created a few dummy functions to resolve functions having more than 25 lines.
Diffstat (limited to 'ft_isalpha.c')
-rw-r--r--ft_isalpha.c16
1 files changed, 14 insertions, 2 deletions
diff --git a/ft_isalpha.c b/ft_isalpha.c
index cd09abb..070ff6a 100644
--- a/ft_isalpha.c
+++ b/ft_isalpha.c
@@ -1,4 +1,16 @@
-int ft_isalpha(int c)
+/* ************************************************************************** */
+/* */
+/* ::: :::::::: */
+/* ft_isalpha.c :+: :+: :+: */
+/* +:+ +:+ +:+ */
+/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
+/* +#+#+#+#+#+ +#+ */
+/* Created: 2019/10/07 09:54:52 by cacharle #+# #+# */
+/* Updated: 2019/10/07 09:54:57 by cacharle ### ########.fr */
+/* */
+/* ************************************************************************** */
+
+int ft_isalpha(int c)
{
- return ((c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z'));
+ return ((c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z'));
}