-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathft_isspace.c
More file actions
21 lines (20 loc) · 1.03 KB
/
ft_isspace.c
File metadata and controls
21 lines (20 loc) · 1.03 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: dbrandao <dbrandao@student.42sp.org.br> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/10/27 17:04:00 by dbrandao #+# #+# */
/* Updated: 2022/10/27 17:25:00 by dbrandao ### ########.fr */
/* */
/* ************************************************************************** */
int ft_isspace(char c)
{
if (c == ' ' || c == '\f' || c == '\n'
|| c == '\r' || c == '\t' || c == '\v')
{
return (1);
}
return (0);
}