-
Notifications
You must be signed in to change notification settings - Fork 0
/
minitalk_bonus.h
29 lines (24 loc) · 1.17 KB
/
minitalk_bonus.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
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* minitalk_bonus.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: dnishsha <dnishsha@student.42berlin.d +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/07/21 12:28:30 by dnishsha #+# #+# */
/* Updated: 2023/07/21 12:28:39 by dnishsha ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef MINITALK_BONUS_H
# define MINITALK_BONUS_H
# include "ft_printf/ft_printf.h"
# include <unistd.h>
# include <signal.h>
typedef struct Signal {
int bit;
int current_byte;
} t_signal;
// Util Functions
void print_error(char *msg);
int ft_atoi(const char *str);
#endif