25 lines
1.0 KiB
C
25 lines
1.0 KiB
C
|
/* ************************************************************************** */
|
||
|
/* */
|
||
|
/* ::: :::::::: */
|
||
|
/* ft_printf.c :+: :+: :+: */
|
||
|
/* +:+ +:+ +:+ */
|
||
|
/* By: cchauvet <cchauvet@student.42angoulem +#+ +:+ +#+ */
|
||
|
/* +#+#+#+#+#+ +#+ */
|
||
|
/* Created: 2022/10/06 22:01:28 by cchauvet #+# #+# */
|
||
|
/* Updated: 2022/10/12 16:34:31 by cchauvet ### ########.fr */
|
||
|
/* */
|
||
|
/* ************************************************************************** */
|
||
|
|
||
|
#include "ft_printf.h"
|
||
|
|
||
|
int ft_printf(const char *format, ...)
|
||
|
{
|
||
|
va_list va;
|
||
|
int i;
|
||
|
|
||
|
va_start(va, format);
|
||
|
i = ft_vdprintf(1, format, va);
|
||
|
va_end(va);
|
||
|
return (i);
|
||
|
}
|