-
Notifications
You must be signed in to change notification settings - Fork 0
/
ft_isspace.c
19 lines (18 loc) · 993 Bytes
/
ft_isspace.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_isspace.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: cyildiri <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2016/10/03 21:36:00 by cyildiri #+# #+# */
/* Updated: 2016/10/03 21:49:04 by cyildiri ### ########.fr */
/* */
/* ************************************************************************** */
int ft_isspace(int c)
{
if (c == ' ' || c == '\t' || c == '\n')
return (1);
else
return (0);
}