-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathft_isspace.c
17 lines (16 loc) · 1005 Bytes
/
ft_isspace.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* ************************************************************************** */
/* */
/* :::::::: */
/* ft_isspace.c :+: :+: */
/* +:+ */
/* By: jvan-hal <[email protected]> +#+ */
/* +#+ */
/* Created: 2022/10/04 09:38:50 by jvan-hal #+# #+# */
/* Updated: 2022/11/23 13:29:38 by jvan-hal ######## odam.nl */
/* */
/* ************************************************************************** */
int ft_isspace(int c)
{
return (c == '\t' || c == '\n' || c == '\v' || c == '\f'
|| c == '\r' || c == ' ');
}