-
Notifications
You must be signed in to change notification settings - Fork 0
/
ft_printf.c
executable file
·25 lines (21 loc) · 1.08 KB
/
ft_printf.c
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
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_printf.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: akharrou <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2019/04/14 23:17:26 by akharrou #+# #+# */
/* Updated: 2019/05/08 08:44:42 by akharrou ### ########.fr */
/* */
/* ************************************************************************** */
#include "ft_printf.h"
/*
** Reproduction of the libc 'printf()' function.
*/
int ft_printf(const char *format, ...)
{
va_list args;
va_start(args, format);
return (ft_vdprintf(STDOUT, format, &args));
}