-
Notifications
You must be signed in to change notification settings - Fork 0
/
ft_isspace_bonus.c
20 lines (18 loc) · 1018 Bytes
/
ft_isspace_bonus.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_isspace_bonus.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: atweek <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/11/15 18:59:44 by atweek #+# #+# */
/* Updated: 2020/11/17 23:07:14 by atweek ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
int ft_isspace_bonus(int ch)
{
if (((ch >= 9) && (ch <= 13)) || (ch == 32))
return (1);
return (0);
}