/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_map_error.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: rbousset +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2020/02/14 17:28:55 by rbousset #+# #+# */ /* Updated: 2020/02/14 17:28:55 by rbousset ### ########lyon.fr */ /* */ /* ************************************************************************** */ #include #include #include int ft_map_error(t_cub *clist) { ft_dprintf(STDERR_FILENO, "Error\n"); ft_dprintf(STDERR_FILENO, "\033[1;31mMap error: line %zu\033[0m\n", clist->mlist->line_chk); return (ft_exit(4, clist)); }