| 123456789101112131415161718192021 |
- /* ************************************************************************** */
- /* */
- /* ::: :::::::: */
- /* ft_exit.c :+: :+: :+: */
- /* +:+ +:+ +:+ */
- /* By: bchanot <bchanot@students.42.fr> +#+ +:+ +#+ */
- /* +#+#+#+#+#+ +#+ */
- /* Created: 2016/01/23 20:00:55 by bchanot #+# #+# */
- /* Updated: 2016/02/09 17:03:50 by bchanot ### ########.fr */
- /* */
- /* ************************************************************************** */
- #include "libft.h"
- #include <stdlib.h>
- void ft_exit(const char *str)
- {
- if (str != NULL)
- ft_putendl_fd(str, 1);
- exit(EXIT_SUCCESS);
- }
|