diff options
| author | Christopher Uhlig | 2024-10-17 14:22:47 +0200 |
|---|---|---|
| committer | Christopher Uhlig | 2024-10-17 14:22:47 +0200 |
| commit | 981d02c8544388e81abf1423c31578c50d019d28 (patch) | |
| tree | 195ea0964faa8abcf23712715111b2f21837e9d1 /lib/libft/ft_isspace.c | |
| parent | 9b1ddf7b3491f26d8b3ba9daeca7174aede9c781 (diff) | |
| parent | 85d82207526e7220bd14bc96e5f8079ec781fc75 (diff) | |
| download | minishell-981d02c8544388e81abf1423c31578c50d019d28.tar.gz minishell-981d02c8544388e81abf1423c31578c50d019d28.zip | |
removed merch conflict
Diffstat (limited to 'lib/libft/ft_isspace.c')
| -rw-r--r-- | lib/libft/ft_isspace.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/lib/libft/ft_isspace.c b/lib/libft/ft_isspace.c new file mode 100644 index 0000000..63f21fa --- /dev/null +++ b/lib/libft/ft_isspace.c @@ -0,0 +1,20 @@ +/* ************************************************************************** */ +/* */ +/* ::: :::::::: */ +/* ft_isspace.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: chuhlig <chuhlig@student.42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2024/08/11 13:59:45 by chuhlig #+# #+# */ +/* Updated: 2024/08/11 14:04:23 by chuhlig ### ########.fr */ +/* */ +/* ************************************************************************** */ + +#include "libft.h" + +int ft_isspace(char c) +{ + if (c == ' ' || c == '\t') + return (1); + return (0); +} |
