-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathft_error.c
More file actions
20 lines (18 loc) · 1016 Bytes
/
ft_error.c
File metadata and controls
20 lines (18 loc) · 1016 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_error.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: allopez <allopez@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/08/27 17:20:07 by allopez #+# #+# */
/* Updated: 2021/08/30 11:56:15 by allopez ### ########.fr */
/* */
/* ************************************************************************** */
#include "ft_pipex.h"
void ft_error(char *error)
{
ft_putstr_fd(error, 2);
ft_putstr_fd("\n", 2);
exit(1);
}