-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprint_error.c
19 lines (17 loc) · 988 Bytes
/
print_error.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* print_error.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: obenazzo <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2017/11/06 10:54:33 by obenazzo #+# #+# */
/* Updated: 2018/03/01 00:56:45 by obenazzo ### ########.fr */
/* */
/* ************************************************************************** */
#include "fractol.h"
void print_error(char *err)
{
write(2, err, ft_strlen(err));
exit(0);
}