blob: 18b6dbae1b52bdef2d4c963a400f91a68ddf1e80 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_isspace.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/01/15 11:33:36 by cacharle #+# #+# */
/* Updated: 2020/01/15 11:35:07 by cacharle ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
int ft_isspace(int c)
{
return (c == ' ' || c == '\t' || c == '\n'
|| c == '\v' || c == '\f' || c == '\r');
}
|