-
Notifications
You must be signed in to change notification settings - Fork 0
/
minitalk.h
27 lines (24 loc) · 1.23 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
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* minitalk.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: yohwang <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/06/09 15:25:24 by yohwang #+# #+# */
/* Updated: 2022/06/09 22:46:10 by yohwang ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef MINITALK_H
# define MINITALK_H
# include <unistd.h>
# include <signal.h>
void print_word(char *str);
void print_num(int n);
long long count_len(long long n);
long long calc_len(long long n);
long long is_overflow(long long result, long long minus, long long overflow);
long long is_minus(char c);
int is_digit(int c);
int ft_atoi(const char *str);
#endif