/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_isdigit.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: rparodi +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2023/11/06 12:44:28 by rparodi #+# #+# */ /* Updated: 2023/11/07 10:35:36 by rparodi ### ########.fr */ /* */ /* ************************************************************************** */ #include "libft.h" int ft_isdigit(int c) { if (c >= '0' && c <= '9') return (c); return (0); }