1
0
libft_new/print/printf/ft_putchar.c

20 lines
976 B
C
Raw Permalink Normal View History

2023-11-18 10:54:40 +01:00
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_putchar.c :+: :+: :+: */
/* +:+ +:+ +:+ */
2024-02-04 15:26:48 +01:00
/* By: adjoly <adjoly@student.42angouleme.fr> +#+ +:+ +#+ */
2023-11-18 10:54:40 +01:00
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/11/18 10:49:00 by adjoly #+# #+# */
2024-02-04 15:26:48 +01:00
/* Updated: 2024/02/04 15:17:42 by adjoly ### ########.fr */
2023-11-18 10:54:40 +01:00
/* */
/* ************************************************************************** */
2024-02-04 15:11:02 +01:00
#include "ft_printf.h"
2023-11-18 10:54:40 +01:00
2024-02-04 15:26:48 +01:00
int ft_putchar_p(char c)
2023-11-18 10:54:40 +01:00
{
2024-02-04 15:11:02 +01:00
write(1, &c, 1);
return (1);
2023-11-18 10:54:40 +01:00
}