/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_atoul_check.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: cchauvet '9' || str[i] < '0') return (0); if (num > num * 10 + str[i] - '0') return (0); num = num * 10 + str[i] - 48; i++; } return (1); }