From ed1c486272f06d977d308a8bcaaa4b1dac12b6d7 Mon Sep 17 00:00:00 2001 From: Dominik Kaiser Date: Fri, 17 Jan 2025 12:06:21 +0100 Subject: Add ft_utils --- philo/include/philo.h | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 philo/include/philo.h (limited to 'philo/include/philo.h') diff --git a/philo/include/philo.h b/philo/include/philo.h new file mode 100644 index 0000000..1ec9c3d --- /dev/null +++ b/philo/include/philo.h @@ -0,0 +1,34 @@ +/* ************************************************************************** */ +/* */ +/* ::: :::::::: */ +/* philo.h :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: dkaiser +# include +# include +# include +# include +# include "ft_utils.h" + +# define ERR_USAGE "Usage: [times_must_eat]" + +typedef struct s_phdata +{ + int nbr_of_philos; + int time_to_die; + int time_to_eat; + int time_to_sleep; + int times_must_eat; +} t_phdata; + +#endif -- cgit v1.2.3