-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathft_is_space.c
18 lines (16 loc) · 987 Bytes
/
ft_is_space.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_is_space.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: tairribe <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/08/19 15:04:56 by tairribe #+# #+# */
/* Updated: 2023/08/19 15:13:51 by tairribe ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
int ft_is_space(int c)
{
return ((c >= '\t' && c <= '\r') || c == ' ');
}