/* ************************************************************************** */ /* */ /* :::::::: */ /* ft_cntarg.c :+: :+: */ /* +:+ */ /* By: houtworm +#+ */ /* +#+ */ /* Created: 2023/02/07 00:38:26 by houtworm #+# #+# */ /* Updated: 2023/10/18 16:56:12 by houtworm ######## odam.nl */ /* */ /* ************************************************************************** */ #include "../libft.h" int ft_cntarg(char **argv) { int i; i = 0; while (argv[i]) i++; return (i); }