aboutsummaryrefslogtreecommitdiff
path: root/ft_printf.h
diff options
context:
space:
mode:
Diffstat (limited to 'ft_printf.h')
-rw-r--r--ft_printf.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/ft_printf.h b/ft_printf.h
index f3c09ab..b755f91 100644
--- a/ft_printf.h
+++ b/ft_printf.h
@@ -1,6 +1,23 @@
#ifndef FT_PRINTF_H
# define FT_PRINTF_H
+#define PUTXNBR(nb) (ft_putxnbr(nb, "0123456789abcdef"))
+#define PUTXMAJNBR(nb) (ft_putxnbr(nb, "0123456789ABCDEF"))
+
+/*
+** ft_printf.c
+*/
+
int ft_printf(const char *format, ...);
+/*
+** utils.c
+*/
+
+void ft_putchar(char c);
+void ft_putstr(char *str);
+void ft_putnbr(int nb);
+void ft_putxnbr(unsigned int n, char *hex_symbols);
+void ft_putunbr(unsigned int n);
+
#endif