42_C_PISCINE/Rush/Rush01/ft_printf.c

20 lines
988 B
C
Raw Permalink Normal View History

2023-05-17 12:45:25 -04:00
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_printf.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: cchauvet <cchauvet@student.42angoulem +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/07/24 20:04:30 by cchauvet #+# #+# */
/* Updated: 2022/07/24 20:15:03 by cchauvet ### ########.fr */
/* */
/* ************************************************************************** */
void ft_putchar(char c);
void ft_printf(char *str)
{
while (str != 0)
ft_putchar(*str++);
}