summaryrefslogtreecommitdiff
path: root/ft_printf.h
blob: 5fffc0f52a4c6957679fbe42f6f777a92a2d4d57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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