21 lines
1005 B
C
21 lines
1005 B
C
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* ft_is_space.c :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: madumerg <madumerg@student.42angouleme. +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2024/02/14 12:49:51 by madumerg #+# #+# */
|
|
/* Updated: 2024/02/18 16:08:06 by madumerg ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#include "libft.h"
|
|
|
|
int ft_is_space(char c)
|
|
{
|
|
if (c == ' ' || (c >= 9 && c <= 13))
|
|
return (1);
|
|
return (0);
|
|
}
|