-
Notifications
You must be signed in to change notification settings - Fork 0
/
ft_putchar_fd.c
executable file
·19 lines (17 loc) · 998 Bytes
/
ft_putchar_fd.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_putchar_fd.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: bscamand <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/01/04 19:24:15 by bscamand #+# #+# */
/* Updated: 2021/01/11 15:02:39 by bscamand ### ########.fr */
/* */
/* ************************************************************************** */
#include "libftprintf.h"
void ft_putchar_fd(int c, int fd, t_parser *ptr)
{
write(fd, &c, 1);
LEN++;
}