add libft, add gitignore
This commit is contained in:
17
libft/ft_isspace.c
Executable file
17
libft/ft_isspace.c
Executable file
@ -0,0 +1,17 @@
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* ft_isspace.c :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: tomoron <marvin@42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/02/05 00:58:08 by tomoron #+# #+# */
|
||||
/* Updated: 2024/02/09 16:40:35 by tomoron ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
int ft_isspace(int c)
|
||||
{
|
||||
return (c == '\f' || c == '\n' || c == '\r' || c == '\t' || c == '\v'
|
||||
|| c == ' ');
|
||||
}
|
Reference in New Issue
Block a user