-
Notifications
You must be signed in to change notification settings - Fork 0
/
ft_printf.h
29 lines (25 loc) · 1.37 KB
/
ft_printf.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
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_printf.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: zyacoubi <mrx.ga10@gmail.com> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/12/03 17:18:37 by zyacoubi #+# #+# */
/* Updated: 2021/12/05 23:43:23 by zyacoubi ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef FT_PRINTF_H
# define FT_PRINTF_H
# include <unistd.h>
# include <stdarg.h>
void udi_tr(const char *str, va_list list, int *r);
void string_tr(const char *str, va_list list, int *r);
void hex_tr(const char *str, va_list list, int *r);
void ft_putnbr(int nb, int *r);
int ft_printf(const char *str, ...);
void ft_hex(unsigned int x, int i, int *r);
void ft_hexp(unsigned long x, int *r);
void unsigned_tr(unsigned int n, int *r);
void ft_check(const char *str, va_list list, int *j, int i);
#endif