-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathft_printf.h
42 lines (32 loc) · 1.35 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
30
31
32
33
34
35
36
37
38
39
40
41
42
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_printf.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: asoler <asoler@student.42sp.org.br> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/05/26 01:05:04 by asoler #+# #+# */
/* Updated: 2022/05/26 14:21:54 by asoler ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef FT_PRINTF_H
# include <stdarg.h>
# include "./includes/libft.h"
# include <unistd.h>
# define FT_PRINTF_H
typedef struct s_vars
{
char *s;
char c;
int sn;
unsigned int un;
unsigned long address;
} t_vars;
int ft_printf(const char *s, ...);
int ft_printf_int(int d);
int ft_printf_address(unsigned long n);
int ft_printf_char(char c);
int ft_printf_str(char *s);
int ft_printf_int_as_hex(unsigned int n, char c);
int ft_printf_usig_int(unsigned int n);
#endif