-
Notifications
You must be signed in to change notification settings - Fork 0
/
quit.c
21 lines (19 loc) · 986 Bytes
/
quit.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* quit.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: hgrissen <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/02/11 15:16:08 by hgrissen #+# #+# */
/* Updated: 2021/02/16 11:57:08 by hgrissen ### ########.fr */
/* */
/* ************************************************************************** */
#include "cub3d.h"
int ft_quit(void)
{
if (BON)
kill(g_pid, 1);
exit(0);
return (0);
}