20 lines
266 B
C
20 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);
|
||
|
}
|