-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathminitalk.h
28 lines (22 loc) · 1.16 KB
/
minitalk.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* minitalk.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: adantas- <adantas-@student.42sp.org.br> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/01/16 15:27:14 by adantas- #+# #+# */
/* Updated: 2023/01/19 22:43:25 by adantas- ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef MINITALK_H
# define MINITALK_H
# include <unistd.h>
# include <signal.h>
# include <stdlib.h>
// client.c functions
void validation(int ac, char **av);
void send_bit(int srv_pid, char c);
// server.c functions
void which_signal(int sig, siginfo_t *siginfo, void *context);
#endif