-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathch_error_bonus.c
19 lines (17 loc) · 1005 Bytes
/
ch_error_bonus.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ch_error_bonus.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: nkawaguc <nkawaguc@student.42tokyo.jp> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/10/20 12:55:06 by nkawaguc #+# #+# */
/* Updated: 2024/10/20 13:44:57 by nkawaguc ### ########.fr */
/* */
/* ************************************************************************** */
#include "ch_basic_bonus.h"
void error(void)
{
ft_putendl_fd(MSG_ERROR, STDERR_FILENO);
exit(EXIT_FAILURE);
}