/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_uilen.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: jhalford +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2016/11/07 13:52:35 by jhalford #+# #+# */ /* Updated: 2016/11/07 13:54:41 by jhalford ### ########.fr */ /* */ /* ************************************************************************** */ #include "libft.h" size_t ft_uilen(unsigned int n) { size_t i; i = 1; while (n /= 10) i++; return (i); }