23 lines
1021 B
C
23 lines
1021 B
C
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* check_death.c :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: adjoly <adjoly@student.42angouleme.fr> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2024/07/24 23:03:08 by adjoly #+# #+# */
|
|
/* Updated: 2024/07/26 17:32:52 by adjoly ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#include "philo.h"
|
|
|
|
bool get_death(bool in, bool ret)
|
|
{
|
|
static bool death;
|
|
|
|
if (ret == false)
|
|
death = in;
|
|
return (death);
|
|
}
|