-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathft_isspace.c
executable file
·20 lines (18 loc) · 1008 Bytes
/
ft_isspace.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_isspace.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: rbenjami <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2014/03/11 12:32:07 by rbenjami #+# #+# */
/* Updated: 2015/02/18 10:39:15 by rbenjami ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
BOOL ft_isspace(char c)
{
if (c == ' ' || c == '\n' || c == '\t')
return (1);
return (0);
}