42_push_swap/ft_putstr.c
Camille Chauvet bb6e9ddd85 d
2022-11-23 21:44:27 +01:00

20 lines
989 B
C

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_putstr.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: cchauvet <cchauvet@student.42angouleme.fr +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/11/08 18:24:45 by cchauvet #+# #+# */
/* Updated: 2022/11/08 18:26:33 by cchauvet ### ########.fr */
/* */
/* ************************************************************************** */
#include "pushswap.h"
void ft_putstr(char *str)
{
while (*str != '\0')
write(1, str++, 1);
}