21 lines
1004 B
C
21 lines
1004 B
C
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* ft_putstr.c :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: nlauvray <nlauvray@student.42angoulem +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2022/07/31 08:46:44 by nlauvray #+# #+# */
|
|
/* Updated: 2022/07/31 08:46:52 by nlauvray ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#include "rush02.h"
|
|
#include <unistd.h>
|
|
|
|
void ft_putstr(char *str)
|
|
{
|
|
while (*str != 0)
|
|
write(1, str++, 1);
|
|
}
|