-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathft_iswhite.c
21 lines (19 loc) · 1.02 KB
/
ft_iswhite.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_iswhite.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: luperez <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2014/12/26 15:01:02 by luperez #+# #+# */
/* Updated: 2014/12/26 15:06:14 by luperez ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
int ft_iswhite(int c)
{
if (c == ' ' || c == '\t' || c == '\r' || c == '\n' || c == '\v' ||
c == '\f')
return (1);
return (0);
}