message echange ok mais pas eol

This commit is contained in:
hugogogo
2021-08-29 13:20:34 +02:00
parent cab9adafda
commit bb232a52a1
7 changed files with 34 additions and 32 deletions

View File

@@ -1,9 +1,18 @@
#ifndef MINITALK_H
# define MINITALK_H
# include <signal.h> // for signal kill
# include <signal.h> // for signal kill sigaction
# include <sys/types.h> // for getpid kill
# include <unistd.h> // for getpid
# include "libft.h"
typedef struct s_message
{
unsigned int count_bits;
char character;
char *text;
} t_message;
t_message message;
#endif