-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patherrors.c
More file actions
20 lines (18 loc) · 998 Bytes
/
errors.c
File metadata and controls
20 lines (18 loc) · 998 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* errors.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: ldiaz-ra <ldiaz-ra@student.42madrid.com +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/12/12 11:16:51 by ldiaz-ra #+# #+# */
/* Updated: 2024/01/23 11:45:35 by ldiaz-ra ### ########.fr */
/* */
/* ************************************************************************** */
#include "push_swap.h"
void ft_error(t_stack **a)
{
free_stack(a);
write(2, "Error\n", 6);
exit(0);
}