/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_isdigits.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: scebula +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2016/04/26 21:54:11 by scebula #+# #+# */ /* Updated: 2016/04/26 21:54:38 by scebula ### ########.fr */ /* */ /* ************************************************************************** */ #include "libft.h" char ft_isdigits(char *s) { int i; i = 0; while (s[i]) { if (!ft_isdigit(s[i])) return (0); i++; } return (1); }