-
Notifications
You must be signed in to change notification settings - Fork 0
/
minitalk.h
31 lines (28 loc) · 1.29 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
29
30
31
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* minitalk.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: inkahar <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/01/29 13:18:28 by inkahar #+# #+# */
/* Updated: 2024/01/29 17:54:41 by inkahar ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef MINITALK_H
# define MINITALK_H
# include <ctype.h>
# include <limits.h>
# include <signal.h>
# include <stdio.h>
# include <stdlib.h>
# include <string.h>
# include <unistd.h>
void recive(int c);
void receiver(int c, siginfo_t *info, void *context);
void client(int pid, char c);
int ft_atoi(const char *str);
void ft_putchar_fd(char c, int fd);
void ft_putnbr_fd(int nb, int fd);
void sighandler(int sig);
#endif