first commit
This commit is contained in:
13
ended/C01/ex05/ft_putstr.c
Normal file
13
ended/C01/ex05/ft_putstr.c
Normal file
@ -0,0 +1,13 @@
|
||||
#include <unistd.h>
|
||||
|
||||
void ft_putstr(char *str)
|
||||
{
|
||||
int i;
|
||||
|
||||
i = 0;
|
||||
while (str[i])
|
||||
{
|
||||
write(1, &str[i], 1);
|
||||
i++;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user