protection segfault creation zero philosophs + deplacement fichiers dans philo + ajout exeption philo folder dans gitignore

This commit is contained in:
Hugo LAMY
2022-01-27 15:08:56 +01:00
parent e45ca1331f
commit 836c02f3f5
12 changed files with 4 additions and 2 deletions

27
philo/headers/philo.h Normal file
View File

@@ -0,0 +1,27 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* philo.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: hulamy <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/01/26 15:27:01 by hulamy #+# #+# */
/* Updated: 2022/01/26 15:27:02 by hulamy ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef PHILO_H
# define PHILO_H
# include <stdio.h>
# include <stdlib.h>
# include <string.h>
# include <unistd.h>
# include <pthread.h>
# include <sys/time.h>
# include "philo_struct.h"
# include "philo_proto.h"
# include "philo_macro.h"
#endif