-
Notifications
You must be signed in to change notification settings - Fork 0
/
ft_printf.c
24 lines (21 loc) · 1.04 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
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_printf.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: belkarto <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/10/30 07:22:19 by belkarto #+# #+# */
/* Updated: 2022/11/29 16:44:47 by belkarto ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
int ft_printf(const char *str, ...)
{
va_list args;
int len;
va_start(args, str);
len = ft_putformat(str, args);
va_end(args);
return (len);
}