-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathft_putchar.c
20 lines (18 loc) · 999 Bytes
/
ft_putchar.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_putchar.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: sprodatu <sprodatu@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/11/17 02:03:08 by sprodatu #+# #+# */
/* Updated: 2024/05/03 21:50:57 by sprodatu ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft/libft.h"
#include "ft_printf.h"
int ft_putchar(char c)
{
write(1, &c, 1);
return (1);
}