2023-03-28 09:55:08 -04:00
|
|
|
/* ************************************************************************** */
|
|
|
|
/* */
|
|
|
|
/* ::: :::::::: */
|
|
|
|
/* data.c :+: :+: :+: */
|
|
|
|
/* +:+ +:+ +:+ */
|
|
|
|
/* By: cchauvet <cchauvet@student.42angouleme.fr +#+ +:+ +#+ */
|
|
|
|
/* +#+#+#+#+#+ +#+ */
|
|
|
|
/* Created: 2023/03/27 13:42:09 by cchauvet #+# #+# */
|
2023-04-05 11:32:04 -04:00
|
|
|
/* Updated: 2023/04/05 14:48:30 by alouis-j ### ########.fr */
|
2023-03-28 09:55:08 -04:00
|
|
|
/* */
|
|
|
|
/* ************************************************************************** */
|
|
|
|
|
2023-03-10 06:32:39 -05:00
|
|
|
#include "./data_private.h"
|
2023-03-22 09:29:32 -04:00
|
|
|
#include "data.h"
|
2023-03-10 06:32:39 -05:00
|
|
|
|
2023-04-05 11:32:04 -04:00
|
|
|
int *ft_get_exit_code(void)
|
2023-03-10 06:32:39 -05:00
|
|
|
{
|
2023-04-05 11:32:04 -04:00
|
|
|
static int exit_code;
|
2023-03-10 06:32:39 -05:00
|
|
|
|
2023-04-05 11:32:04 -04:00
|
|
|
return (&exit_code);
|
2023-03-10 06:32:39 -05:00
|
|
|
}
|