diff options
Diffstat (limited to 'ft_printf.h')
| -rw-r--r-- | ft_printf.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/ft_printf.h b/ft_printf.h new file mode 100644 index 0000000..5fffc0f --- /dev/null +++ b/ft_printf.h @@ -0,0 +1,19 @@ +#ifndef FT_PRINTF_H + +# define FT_PRINTF_H + +# include <limits.h> // for INT and MAX values +# include <stdarg.h> // for variadic function +# include <stdio.h> +# include <unistd.h> // for write function + +int ft_putchar(char c); +int ft_putstr(char *str); +int ft_putnbr(int n); +int ft_putunsigned(unsigned int nb); +int ft_puthexlower(unsigned long n); +int ft_puthexupper(unsigned int n); +int ft_checkpadd(va_list ap); +int ft_printf(const char *format, ...); + +#endif |
