diff --git a/ex01/ft_putstr.c b/ex01/ft_putstr.c new file mode 100644 index 0000000..b9a55ac --- /dev/null +++ b/ex01/ft_putstr.c @@ -0,0 +1,26 @@ +/* ************************************************************************** */ +/* */ +/* ::: :::::::: */ +/* ft_putstr.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: tischmid +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2023/03/27 18:56:17 by tischmid #+# #+# */ +/* Updated: 2023/03/27 18:57:25 by tischmid ### ########.fr */ +/* */ +/* ************************************************************************** */ + +#include + +void ft_putstr(char *str) +{ + while (*str) + write(1, str++, 1); +} + +/* //// +int main(void) +{ + ft_putstr("HELLO WORLD\n"); +} +*/ ////