/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_isdigit.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: apommier +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2020/11/29 00:10:39 by apommier #+# #+# */ /* Updated: 2020/12/12 09:27:06 by apommier ### ########.fr */ /* */ /* ************************************************************************** */ #include "libft.h" int ft_isdigit(int c) { if (c <= '9' && c >= '0') return (1); else return (0); }