From 1e9b077e0d9f3c50d7d518bf6ea7f08e7f5ec590 Mon Sep 17 00:00:00 2001 From: Charles Date: Wed, 15 Jan 2020 10:04:09 +0100 Subject: splited src in category, more generic makefile --- src/ctype/ft_isprint.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/ctype/ft_isprint.c (limited to 'src/ctype/ft_isprint.c') 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 +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* 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 <= '~'); +} -- cgit