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