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