-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathft_printf.c
20 lines (18 loc) · 1.24 KB
/
ft_printf.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_printf.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: jfreitas <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2019/12/30 16:59:47 by jfreitas #+# #+# */
/* Updated: 2019/12/30 18:20:24 by jfreitas ### ########.fr */
/* */
/* ************************************************************************** */
• You have to recode the libc’s printf function
• It must not do the buffer management like the real printf
• It will manage the following conversions: cspdiuxX%
• It will manage any combination of the following flags: ’-0.*’ and minimum field width
• It will be compared with the real printf
• man 3 printf / man 3 stdarg
int ft_printf(const char *, ...)