UtilLib
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* ft_is_space.c :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: yantoine <yantoine@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/10/26 13:54:02 by yantoine #+# #+# */
|
||||
/* Updated: 2024/10/26 13:55:48 by yantoine ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#include "libft.h"
|
||||
|
||||
int ft_is_space(char c)
|
||||
{
|
||||
return (c == ' ' || c == '\t' || c == '\n' || \
|
||||
c == '\v' || c == '\f' || c == '\r');
|
||||
}
|
||||
Reference in New Issue
Block a user