-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy patherror.c
21 lines (19 loc) · 1 KB
/
error.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* ************************************************************************** */
/* */
/* :::::::: */
/* error.c :+: :+: */
/* +:+ */
/* By: dnoom <[email protected]> +#+ */
/* +#+ */
/* Created: 2022/04/06 11:25:31 by dnoom #+# #+# */
/* Updated: 2022/04/06 11:25:31 by dnoom ######## odam.nl */
/* */
/* ************************************************************************** */
#include "miniRT.h"
void error(char *str)
{
ft_putstr_fd("Error\n", 2);
ft_putstr_fd(str, 2);
ft_putstr_fd("\n", 2);
exit(1);
}