-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexit_program.c
19 lines (17 loc) · 978 Bytes
/
exit_program.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* exit_program.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: lbaela <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/10/20 12:50:11 by lbaela #+# #+# */
/* Updated: 2021/10/27 17:12:19 by lbaela ### ########.fr */
/* */
/* ************************************************************************** */
#include "fdf.h"
void exit_on_error(char *msg)
{
ft_putendl_fd(msg, 1);
exit(1);
}