-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlibftprintf.h
33 lines (29 loc) · 1.28 KB
/
libftprintf.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
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* libftprintf.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: cnascime <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/05/13 20:13:09 by cnascime #+# #+# */
/* Updated: 2022/08/11 05:02:44 by cnascime ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef LIBFTPRINTF_H
# define LIBFTPRINTF_H
# include <stdarg.h>
# include "libft/libft.h"
typedef struct s_flags
{
int width;
int minus;
int zero;
int dot;
} t_flags;
int ft_printf(const char *fixed, ...);
int ft_putint(int number);
int ft_putunsint(unsigned int number);
int ft_putoct(unsigned int number);
int ft_puthex(char lettercase, int number);
int ft_putpointer(unsigned long long number);
#endif