aboutsummaryrefslogtreecommitdiff
path: root/ft_putendl_fd.c
diff options
context:
space:
mode:
Diffstat (limited to 'ft_putendl_fd.c')
-rw-r--r--ft_putendl_fd.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/ft_putendl_fd.c b/ft_putendl_fd.c
new file mode 100644
index 0000000..58ca452
--- /dev/null
+++ b/ft_putendl_fd.c
@@ -0,0 +1,7 @@
+#include "libft.h"
+
+void ft_putendl_fd(char const *s, int fd)
+{
+ ft_putstr_fd(s, fd);
+ ft_putchar_fd('\n', fd);
+}