aboutsummaryrefslogtreecommitdiff
path: root/include/ft_printf.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ft_printf.h')
-rw-r--r--include/ft_printf.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/include/ft_printf.h b/include/ft_printf.h
new file mode 100644
index 0000000..615039b
--- /dev/null
+++ b/include/ft_printf.h
@@ -0,0 +1,27 @@
+/* ************************************************************************** */
+/* */
+/* ::: :::::::: */
+/* ft_printf.h :+: :+: :+: */
+/* +:+ +:+ +:+ */
+/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
+/* +#+#+#+#+#+ +#+ */
+/* Created: 2020/01/17 10:05:59 by cacharle #+# #+# */
+/* Updated: 2020/01/17 10:10:18 by cacharle ### ########.fr */
+/* */
+/* ************************************************************************** */
+
+#ifndef FT_PRINTF_H
+# define FT_PRINTF_H
+
+int ft_printf(const char *format, ...);
+int ft_sprintf(char *str, const char *format, ...);
+int ft_snprintf(char *str, size_t size, const char *format, ...);
+int ft_asprintf(char **ret, const char *format, ...);
+int ft_dprintf(int fd, const char *format, ...);
+int ft_vprintf(const char *format, va_list ap);
+int ft_vsprintf(char *str, const char *format, va_list ap);
+int ft_vsnprintf(char *str, size_t size, const char *format, va_list ap);
+int ft_vasprintf(char **ret, const char *format, va_list ap);
+int ft_vdprintf(int fd, const char *format, va_list ap);
+
+#endif