aboutsummaryrefslogtreecommitdiff
path: root/src/ctype
diff options
context:
space:
mode:
Diffstat (limited to 'src/ctype')
-rw-r--r--src/ctype/ft_isblank.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/ctype/ft_isblank.c b/src/ctype/ft_isblank.c
new file mode 100644
index 0000000..def106b
--- /dev/null
+++ b/src/ctype/ft_isblank.c
@@ -0,0 +1,16 @@
+/* ************************************************************************** */
+/* */
+/* ::: :::::::: */
+/* ft_isblank.c :+: :+: :+: */
+/* +:+ +:+ +:+ */
+/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
+/* +#+#+#+#+#+ +#+ */
+/* Created: 2020/02/10 05:17:45 by cacharle #+# #+# */
+/* Updated: 2020/02/10 05:18:34 by cacharle ### ########.fr */
+/* */
+/* ************************************************************************** */
+
+int ft_isblank(int c)
+{
+ return (c == ' ' || c == '\t');
+}