diff options
Diffstat (limited to 'src/ctype/ft_isprint.c')
| -rw-r--r-- | src/ctype/ft_isprint.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/ctype/ft_isprint.c b/src/ctype/ft_isprint.c new file mode 100644 index 0000000..c311709 --- /dev/null +++ b/src/ctype/ft_isprint.c @@ -0,0 +1,16 @@ +/* ************************************************************************** */ +/* */ +/* ::: :::::::: */ +/* ft_isprint.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2019/10/07 09:52:09 by cacharle #+# #+# */ +/* Updated: 2019/10/20 13:03:36 by cacharle ### ########.fr */ +/* */ +/* ************************************************************************** */ + +int ft_isprint(int c) +{ + return (c >= ' ' && c <= '~'); +} |
