maxishell
Implementation of a shell for Linux-like systems
Loading...
Searching...
No Matches
ft_len_2d_arr.c
Go to the documentation of this file.
1/* ************************************************************************** */
2/* */
3/* ::: :::::::: */
4/* ft_len_2d_arr.c :+: :+: :+: */
5/* +:+ +:+ +:+ */
6/* By: rocky <marvin@42.fr> +#+ +:+ +#+ */
7/* +#+#+#+#+#+ +#+ */
8/* Created: 2024/09/26 18:25:59 by rocky #+# #+# */
9/* Updated: 2024/09/26 18:26:01 by rocky ### ########.fr */
10/* */
11/* ************************************************************************** */
12
13#include "libft.h"
14
15int ft_len_2d_arr(char **array)
16{
17 int count;
18
19 count = 0;
20 while (array && array[count])
21 count++;
22 return (count);
23}
int ft_len_2d_arr(char **array)