-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathft_putchar_fd.c
26 lines (23 loc) · 1.01 KB
/
ft_putchar_fd.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_putchar_fd.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: hecmarti <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/07/19 10:00:46 by hecmarti #+# #+# */
/* Updated: 2023/08/21 11:47:40 by hecmarti ### ########.fr */
/* */
/* ************************************************************************** */
#include<unistd.h>
#include"libft.h"
void ft_putchar_fd(char c, int fd)
{
write(fd, &c, 1);
}
/*
int main(void)
{
ft_putchar_fd('H', 2);
}
*/