diff options
| author | yctct <yctct> | 2026-01-28 12:43:28 +0100 |
|---|---|---|
| committer | yctct <yctct> | 2026-01-28 12:43:28 +0100 |
| commit | 925989f7e7af67d965e2b501a51068acfe449ab0 (patch) | |
| tree | 7a83e51d2872f9c97abf3166f883ff8dfcf7e2e0 /ft_printf.h | |
Add all files, first commit
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 |
