-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathft_error.c
20 lines (18 loc) · 1002 Bytes
/
ft_error.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_error.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: lfrank <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/02/28 16:54:03 by lfrank #+# #+# */
/* Updated: 2023/03/13 15:13:22 by lfrank ### ########.fr */
/* */
/* ************************************************************************** */
#include "push_swap.h"
void ft_error(char *err)
{
printf("%s\n", err);
write(2, "Error\n", 7);
exit(0);
}