19 lines
268 B
C
19 lines
268 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);
|
|
}
|