-
Notifications
You must be signed in to change notification settings - Fork 0
/
ft_tablen.c
23 lines (20 loc) · 1005 Bytes
/
ft_tablen.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_tablen.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: dmoureu- <dmoureu-@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2015/12/12 17:20:51 by dmoureu- #+# #+# */
/* Updated: 2016/05/22 09:18:26 by dmoureu- ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
int ft_tablen(char **tab)
{
int len;
len = 0;
while (tab[len])
len++;
return (len);
}