-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathft_get_splitted_size.c
23 lines (20 loc) · 1.01 KB
/
ft_get_splitted_size.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_get_splitted_size.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: lduplain <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/03/23 14:27:55 by lduplain #+# #+# */
/* Updated: 2021/03/23 14:29:14 by lduplain ### ########lyon.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
size_t ft_get_splitted_size(char **splitted)
{
size_t size;
size = 0;
while (splitted[size])
size++;
return (size);
}