1
0
This repository has been archived on 2024-10-25. You can view files and clone it, but cannot push or open issues or pull requests.
philosopher/philo/check_death.c

23 lines
1022 B
C
Raw Normal View History

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