/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_exit_err.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: bchanot +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2016/02/09 17:04:55 by bchanot #+# #+# */ /* Updated: 2016/02/09 17:05:32 by bchanot ### ########.fr */ /* */ /* ************************************************************************** */ #include "libft.h" #include void ft_exit_err(const char *str) { if (str != NULL) ft_putendl_fd(str, 1); exit(EXIT_FAILURE); }