24 lines
1017 B
C
24 lines
1017 B
C
|
/* ************************************************************************** */
|
||
|
/* */
|
||
|
/* ::: :::::::: */
|
||
|
/* ft_tablen.c :+: :+: :+: */
|
||
|
/* +:+ +:+ +:+ */
|
||
|
/* By: cchauvet <cchauvet@student.42angouleme.fr +#+ +:+ +#+ */
|
||
|
/* +#+#+#+#+#+ +#+ */
|
||
|
/* Created: 2023/04/26 12:12:19 by cchauvet #+# #+# */
|
||
|
/* Updated: 2023/04/26 12:13:38 by cchauvet ### ########.fr */
|
||
|
/* */
|
||
|
/* ************************************************************************** */
|
||
|
|
||
|
#include "./extra.h"
|
||
|
|
||
|
size_t ft_tablen(const char **tab)
|
||
|
{
|
||
|
size_t i;
|
||
|
|
||
|
i = 0;
|
||
|
while (tab[i] != NULL)
|
||
|
i++;
|
||
|
return (i);
|
||
|
}
|