27 lines
1.0 KiB
C
27 lines
1.0 KiB
C
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* ft_putstr.c :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: tischmid <marvin@42.fr> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2023/03/27 18:56:17 by tischmid #+# #+# */
|
|
/* Updated: 2023/03/27 18:57:25 by tischmid ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#include <unistd.h>
|
|
|
|
void ft_putstr(char *str)
|
|
{
|
|
while (*str)
|
|
write(1, str++, 1);
|
|
}
|
|
|
|
/* ////
|
|
int main(void)
|
|
{
|
|
ft_putstr("HELLO WORLD\n");
|
|
}
|
|
*/ ////
|