transition from printf to write

This commit is contained in:
Camille Chauvet
2023-04-25 14:30:21 +00:00
parent 531d3146e4
commit 6759520714
5 changed files with 99 additions and 11 deletions

14
utils/putstr.c Normal file
View File

@ -0,0 +1,14 @@
#include "utils.h"
#include <stddef.h>
void ft_putstr(char *str)
{
size_t i;
i = 0;
while (str[i] != 0)
{
ft_putchar(str[i]);
i++;
}
}