24 lines
1001 B
C
24 lines
1001 B
C
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* ft_tablen.c :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: scebula <marvin@42.fr> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* 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);
|
|
}
|