aboutsummaryrefslogtreecommitdiff
path: root/ft_putstr.c
diff options
context:
space:
mode:
Diffstat (limited to 'ft_putstr.c')
-rw-r--r--ft_putstr.c18
1 files changed, 15 insertions, 3 deletions
diff --git a/ft_putstr.c b/ft_putstr.c
index 1bfe06c..0e87847 100644
--- a/ft_putstr.c
+++ b/ft_putstr.c
@@ -1,7 +1,19 @@
+/* ************************************************************************** */
+/* */
+/* ::: :::::::: */
+/* ft_putstr.c :+: :+: :+: */
+/* +:+ +:+ +:+ */
+/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
+/* +#+#+#+#+#+ +#+ */
+/* Created: 2019/10/07 09:52:12 by cacharle #+# #+# */
+/* Updated: 2019/10/07 09:52:15 by cacharle ### ########.fr */
+/* */
+/* ************************************************************************** */
+
#include <unistd.h>
-void ft_putstr(char const *s)
+void ft_putstr(char const *s)
{
- while (*s)
- write(STDOUT_FILENO, s++, 1);
+ while (*s)
+ write(STDOUT_FILENO, s++, 1);
}