/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_m_argv.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: rbousset +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2020/02/14 17:19:27 by rbousset #+# #+# */ /* Updated: 2020/02/14 17:19:29 by rbousset ### ########lyon.fr */ /* */ /* ************************************************************************** */ #include #include #include "ft_d_define.h" #include "ft_m_loop.h" #include "ft_s_struct.h" uint8_t ft_m_argv(int argc, const char *argv[], t_msh *msh) { int32_t i; (void)argv; if (argc == 1) { msh->ret = ft_m_loop(msh); return (msh->ret); } i = 1; while (i < argc) { /* if (ft_strncmp(*(argv + i), )) */ i++; } return (msh->ret); }