commit 780ac9ced3ba572edded1a06345f4c97b4572f38 Author: Camille Chauvet Date: Fri Oct 7 02:30:03 2022 +0200 init diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..18297be --- /dev/null +++ b/Makefile @@ -0,0 +1,36 @@ +# **************************************************************************** # +# # +# ::: :::::::: # +# Makefile :+: :+: :+: # +# +:+ +:+ +:+ # +# By: cchauvet +# include +# include + +char *ft_strndup(const char *s, size_t n); +size_t ft_strlen(const char *s); +char *ft_strchr(const char *s, int c); + +char *ft_itoa(int n); +char *ft_ctoa(int c); +char *ft_strdup(char *s); +char *ft_ptoa(void *ptr); +char *ft_utoa(unsigned int n); +char *ft_itoabase(int n, char *base); + +int ft_printf(const char *format, ...); + +int ft_vprintf(const char *format, va_list va); +char *ft_vsprintf(char *str, const char *format, va_list va); +char *ft_vdprintf(int fd, const char *format, va_list va); + +void ft_putchar_fd(char c, int fd); +void ft_putstr_fd(char *s, int f); + +#endif diff --git a/libftprintf.h.gch b/libftprintf.h.gch new file mode 100644 index 0000000..45ae5f0 Binary files /dev/null and b/libftprintf.h.gch differ diff --git a/main.c b/main.c new file mode 100644 index 0000000..90c580e --- /dev/null +++ b/main.c @@ -0,0 +1,20 @@ +/* ************************************************************************** */ +/* */ +/* ::: :::::::: */ +/* main.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: cchauvet + +int main(void) +{ + ft_printf("%s", "gros peteur"); + return (1); +}