-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patherrorhandlingintsingle.c
21 lines (20 loc) · 1.01 KB
/
errorhandlingintsingle.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* errorhandlingintsingle.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: yst-laur <[email protected] +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/04/11 20:19:35 by yst-laur #+# #+# */
/* Updated: 2022/04/11 20:19:38 by yst-laur ### ########.fr */
/* */
/* ************************************************************************** */
#include "push_swap.h"
void errorhandlingintsingle(char *argv[])
{
if (intchecksingle(argv) == 0)
{
write(2, "Error\n", 6);
exit(1);
}
}