aboutsummaryrefslogtreecommitdiff
path: root/libft/include/libft_printf.h
diff options
context:
space:
mode:
Diffstat (limited to 'libft/include/libft_printf.h')
-rw-r--r--libft/include/libft_printf.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/libft/include/libft_printf.h b/libft/include/libft_printf.h
new file mode 100644
index 0000000..8e64208
--- /dev/null
+++ b/libft/include/libft_printf.h
@@ -0,0 +1,27 @@
+/* ************************************************************************** */
+/* */
+/* ::: :::::::: */
+/* libft_printf.h :+: :+: :+: */
+/* +:+ +:+ +:+ */
+/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
+/* +#+#+#+#+#+ +#+ */
+/* Created: 2020/01/31 10:36:47 by cacharle #+# #+# */
+/* Updated: 2020/01/31 10:36:51 by cacharle ### ########.fr */
+/* */
+/* ************************************************************************** */
+
+#ifndef LIBFT_PRINTF_H
+# define LIBFT_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