/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_tablen.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: scebula +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2016/04/26 21:54:50 by scebula #+# #+# */ /* Updated: 2016/04/26 21:54:53 by scebula ### ########.fr */ /* */ /* ************************************************************************** */ #include "libft.h" size_t ft_tablen(char **tab) { size_t i; i = 0; while (tab[i]) i++; return (i); }