1
0
cub3d/libft/is/ft_is_space.c

21 lines
1005 B
C
Raw Permalink Normal View History

2024-09-10 16:27:06 +02:00
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* 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);
}