mirror of
https://github.com/Arkia-Groupe/radar.git
synced 2026-01-18 16:37:38 +01:00
21 lines
282 B
C
21 lines
282 B
C
/*
|
|
** EPITECH PROJECT, 2023
|
|
** CPoolDay07
|
|
** File description:
|
|
** ./my_putstr.c
|
|
*/
|
|
|
|
#include "lib.h"
|
|
|
|
int my_putstr(char const *str)
|
|
{
|
|
int count;
|
|
|
|
count = 0;
|
|
for (int i = 0; str[i] != '\0'; i++) {
|
|
my_putchar(str[i]);
|
|
count++;
|
|
}
|
|
return (count);
|
|
}
|