-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathft_isspace.c
executable file
·21 lines (20 loc) · 1019 Bytes
/
ft_isspace.c
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: akharrou <akharrou@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2019/02/19 18:37:31 by akharrou #+# #+# */
/* Updated: 2019/02/24 13:40:21 by akharrou ### ########.fr */
/* */
/* ************************************************************************** */
int ft_isspace(int c)
{
return (c == ' ' ||
c == '\n' ||
c == '\t' ||
c == '\v' ||
c == '\f' ||
c == '\r');
}