-
Notifications
You must be signed in to change notification settings - Fork 0
/
ft_putchar.c
20 lines (18 loc) · 994 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: hluiz-ma <hluiz-ma@student.42porto.com> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/05/09 20:57:54 by hluiz-ma #+# #+# */
/* Updated: 2024/05/12 10:55:41 by hluiz-ma ### ########.fr */
/* */
/* ************************************************************************** */
#include "ft_printf.h"
#include <stdlib.h>
int ft_putchar(char c)
{
write(1, &c, 1);
return (1);
}