-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathft_isspace.c
More file actions
21 lines (19 loc) · 1.02 KB
/
ft_isspace.c
File metadata and controls
21 lines (19 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_isspace.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: halhashm <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/10/05 09:38:32 by halhashm #+# #+# */
/* Updated: 2021/10/05 09:41:07 by halhashm ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
int ft_isspace(int x)
{
if (x == 't' || x == '\n' || x == '\v'
|| x == '\f' || x == '\r' || x == ' ')
return (1);
return (0);
}