diff --git a/ft_printf.c b/ft_printf.c new file mode 100644 index 0000000..fc59535 --- /dev/null +++ b/ft_printf.c @@ -0,0 +1,22 @@ +/* ************************************************************************** */ +/* */ +/* ::: :::::::: */ +/* ft_printf.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: adjoly +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2023/11/17 16:48:37 by adjoly #+# #+# */ +/* Updated: 2023/11/17 17:32:54 by adjoly ### ########.fr */ +/* */ +/* ************************************************************************** */ + +#include "libftprintf.h" +#include + +int ft_printf(const char *format, ...) +{ + va_list args; + + va_start(args, format); + +} diff --git a/libftprintf.h b/libftprintf.h new file mode 100644 index 0000000..a0834b7 --- /dev/null +++ b/libftprintf.h @@ -0,0 +1,21 @@ +/* ************************************************************************** */ +/* */ +/* ::: :::::::: */ +/* libftprintf.h :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: adjoly +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2023/11/17 16:50:36 by adjoly #+# #+# */ +/* Updated: 2023/11/17 16:57:31 by adjoly ### ########.fr */ +/* */ +/* ************************************************************************** */ + +#ifndef LIBFTPRINTF_H +# define LIBFTPRINTF_H + +# include +# include + +int ft_printf(const char *format, ...); + +#endif \ No newline at end of file