comp20003-project03/lib/my_putstr.c
2021-10-11 12:24:40 +11:00

19 lines
266 B
C

/*
** EPITECH PROJECT, 2017
** my_putstr
** File description:
** Display one by one the characters of a string.
*/
#include "../include/libmy.h"
int my_putstr(char const *str)
{
int i = 0;
while (str[i] != '\0') {
my_putchar(str[i]);
i++;
}
return (0);
}